Skip to content
Commit 0a1db19f authored by Sascha Hauer's avatar Sascha Hauer Committed by Bartosz Golaszewski
Browse files

gpio: pca953x: fix wrong error probe return value



The second argument to dev_err_probe() is the error value. Pass the
return value of devm_request_threaded_irq() there instead of the irq
number.

Signed-off-by: default avatarSascha Hauer <s.hauer@pengutronix.de>
Fixes: c47f7ff0 ("gpio: pca953x: Utilise dev_err_probe() where it makes sense")
Link: https://lore.kernel.org/r/20250616134503.1201138-1-s.hauer@pengutronix.de


Signed-off-by: default avatarBartosz Golaszewski <bartosz.golaszewski@linaro.org>
parent e6382fcf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment