diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2023-09-03 08:13:21 +0200 |
---|---|---|
committer | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2023-09-20 11:52:14 +0200 |
commit | b547b5e52a0587e6b25ea520bf2f9e03d00cbcb6 (patch) | |
tree | 34f2e8a91643bfa22c64b85e72d1908b146423cd /drivers/hwmon/nct6683.c | |
parent | 2d48c30176fa0fd61202b859d7454249f2b22bdc (diff) |
gpio: tb10x: Fix an error handling path in tb10x_gpio_probe()
If an error occurs after a successful irq_domain_add_linear() call, it
should be undone by a corresponding irq_domain_remove(), as already done
in the remove function.
Fixes: c6ce2b6bffe5 ("gpio: add TB10x GPIO driver")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'drivers/hwmon/nct6683.c')
0 files changed, 0 insertions, 0 deletions