diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2020-06-08 17:17:27 +0300 |
---|---|---|
committer | Wolfram Sang <wsa@kernel.org> | 2020-06-08 22:29:36 +0200 |
commit | de9be772c6794f27d1aa02d90d370b724cb67fd7 (patch) | |
tree | 35aebabf66a40c490a5a0ad4ee5a92a9fd199cdb /MAINTAINERS | |
parent | cdb555397f438592bab00599037c347b700cf397 (diff) | |
download | linux-de9be772c6794f27d1aa02d90d370b724cb67fd7.tar.bz2 |
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 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions