diff options
author | 2020-06-08 17:17:27 +0300 | |
---|---|---|
committer | 2020-06-08 22:29:36 +0200 | |
commit | de9be772c6794f27d1aa02d90d370b724cb67fd7 (patch) | |
tree | 35aebabf66a40c490a5a0ad4ee5a92a9fd199cdb /tools/perf/scripts/python/export-to-postgresql.py | |
parent | i2c: icy: Fix build with CONFIG_AMIGA_PCMCIA=n (diff) | |
download | linux-dev-de9be772c6794f27d1aa02d90d370b724cb67fd7.tar.xz linux-dev-de9be772c6794f27d1aa02d90d370b724cb67fd7.zip |
i2c: npcm7xx: Fix a couple of error codes in probe
The code here is accidentally returning IS_ERR() which is 1 but it
should be returning negative error codes with PTR_ERR().
Fixes: 56a1485b102e ("i2c: npcm7xx: Add Nuvoton NPCM I2C controller driver")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions