aboutsummaryrefslogtreecommitdiff
path: root/include/linux/fpga
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2023-02-27 13:06:33 +0300
committerWolfram Sang <wsa@kernel.org>2023-03-03 21:00:54 +0100
commit65609d3206f784489eb1ebd6fce64b84a42cc63c (patch)
treebcbb5d85453760b063ff25dfa10a99e1ed31ceff /include/linux/fpga
parent4b3dfb0ed6336dea4a763ce9fa30a42763eb3800 (diff)
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/fpga')
0 files changed, 0 insertions, 0 deletions