diff options
| author | 2023-02-27 13:06:33 +0300 | |
|---|---|---|
| committer | 2023-03-03 21:00:54 +0100 | |
| commit | 65609d3206f784489eb1ebd6fce64b84a42cc63c (patch) | |
| tree | bcbb5d85453760b063ff25dfa10a99e1ed31ceff /include/linux/compiler-intel.h | |
| parent | i2c: gxp: return proper error on address NACK (diff) | |
| download | wireguard-linux-65609d3206f784489eb1ebd6fce64b84a42cc63c.tar.xz wireguard-linux-65609d3206f784489eb1ebd6fce64b84a42cc63c.zip | |
i2c: gxp: fix an error code in probe
This is passing IS_ERR() instead of PTR_ERR() so instead of an error
code it prints and returns the number 1.
Fixes: 4a55ed6f89f5 ("i2c: Add GXP SoC I2C Controller")
Signed-off-by: Dan Carpenter <error27@gmail.com>
Reviewed-by: Nick Hawkins <nick.hawkins@hpe.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'include/linux/compiler-intel.h')
0 files changed, 0 insertions, 0 deletions
