diff options
| author | Pengpeng Hou <pengpeng@iscas.ac.cn> | 2026-06-15 17:19:18 +0800 |
|---|---|---|
| committer | Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com> | 2026-06-16 09:42:17 +0200 |
| commit | 0482862a90169f4daaba0ed31a85d8304bf51e04 (patch) | |
| tree | 37e0a01e49f036ff69a385be9ed84009b2fa2dfc /include/linux/timerqueue.h | |
| parent | 4910aa198d25e5d1067236560ba34ab12bccc677 (diff) | |
gpio: mlxbf3: fail probe if gpiochip registration fails
mlxbf3_gpio_probe() logs a devm_gpiochip_add_data() failure but still
returns success. That leaves the platform device bound even though the
GPIO chip was not registered.
Return the registration error so probe failure matches the missing
gpiochip state.
Fixes: cd33f216d241 ("gpio: mlxbf3: Add gpio driver support")
Signed-off-by: Pengpeng Hou <pengpeng@iscas.ac.cn>
Reviewed-by: Linus Walleij <linusw@kernel.org>
Link: https://patch.msgid.link/20260615091918.43333-1-pengpeng@iscas.ac.cn
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
