Dan Carpenter 65609d3206 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>
2023-03-03 21:00:54 +01:00
..
2020-09-27 15:14:16 +02:00
2023-02-24 17:12:23 -08:00
2023-03-03 21:00:54 +01:00
2021-08-19 19:18:17 +02:00
2023-02-24 17:12:23 -08:00
2022-07-22 18:46:41 +02:00
2021-04-17 22:00:58 +02:00
2022-01-14 18:50:52 -05:00
2023-02-17 22:46:10 +01:00
2021-11-23 10:00:12 +01:00
2023-02-17 23:18:20 +01:00