mirror of
https://github.com/torvalds/linux.git
synced 2026-11-29 01:43:18 +00:00
This is passing IS_ERR() instead of PTR_ERR() so instead of an error
code it prints and returns the number 1.
Fixes: 4a55ed6f89 ("i2c: Add GXP SoC I2C Controller")
Signed-off-by: Dan Carpenter <[email protected]>
Reviewed-by: Nick Hawkins <[email protected]>
Signed-off-by: Wolfram Sang <[email protected]>