diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2025-06-16 15:45:03 +0200 |
---|---|---|
committer | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2025-06-17 11:06:59 +0200 |
commit | 0a1db19f66c0960eb00e1f2ccd40708b6747f5b1 (patch) | |
tree | 2f88a3128ae6835c4687e83012e6005864c20a64 /rust/helpers/helpers.c | |
parent | e6382fcf989074566bb9a54bbd3c514d7bb99397 (diff) |
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: Sascha Hauer <s.hauer@pengutronix.de>
Fixes: c47f7ff0fe61 ("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: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions