WSL2-Linux-Kernel/drivers/pinctrl/bcm
Christophe JAILLET 6053df4da4 pinctrl: bcm2835: Handle gpiochip_add_pin_range() errors
[ Upstream commit cdf7e61612 ]

gpiochip_add_pin_range() can fail, so better return its error code than
a hard coded '0'.

Fixes: d2b67744fd ("pinctrl: bcm2835: implement hook for missing gpio-ranges")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/98c3b5890bb72415145c9fe4e1d974711edae376.1681681402.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-07-23 13:47:10 +02:00
..
Kconfig
Makefile
pinctrl-bcm63xx.c
pinctrl-bcm63xx.h
pinctrl-bcm281xx.c
pinctrl-bcm2835.c
pinctrl-bcm6318.c
pinctrl-bcm6328.c
pinctrl-bcm6358.c
pinctrl-bcm6362.c
pinctrl-bcm6368.c
pinctrl-bcm63268.c
pinctrl-cygnus-mux.c
pinctrl-iproc-gpio.c
pinctrl-ns.c
pinctrl-ns2-mux.c
pinctrl-nsp-gpio.c
pinctrl-nsp-mux.c