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 pinctrl: bcm63xx: fix unmet dependency on REGMAP for GPIO_REGMAP 2022-02-23 12:03:05 +01:00
Makefile pinctrl: add a pincontrol driver for BCM6318 2021-03-29 12:20:09 +02:00
pinctrl-bcm63xx.c pinctrl: bcm: add bcm63xx base code 2021-03-29 12:20:07 +02:00
pinctrl-bcm63xx.h pinctrl: bcm: Constify static pinmux_ops 2021-06-09 11:18:33 +02:00
pinctrl-bcm281xx.c pinctrl: bcm: pinctrl-bcm281xx: Demote obvious misuse of kerneldoc to standard comment blocks 2020-07-16 15:12:38 +02:00
pinctrl-bcm2835.c pinctrl: bcm2835: Handle gpiochip_add_pin_range() errors 2023-07-23 13:47:10 +02:00
pinctrl-bcm6318.c pinctrl: bcm: Constify static pinmux_ops 2021-06-09 11:18:33 +02:00
pinctrl-bcm6328.c pinctrl: bcm: Constify static pinmux_ops 2021-06-09 11:18:33 +02:00
pinctrl-bcm6358.c pinctrl: bcm: Constify static pinmux_ops 2021-06-09 11:18:33 +02:00
pinctrl-bcm6362.c pinctrl: bcm: Constify static pinmux_ops 2021-06-09 11:18:33 +02:00
pinctrl-bcm6368.c pinctrl: bcm: Constify static pinmux_ops 2021-06-09 11:18:33 +02:00
pinctrl-bcm63268.c pinctrl: bcm: Constify static pinmux_ops 2021-06-09 11:18:33 +02:00
pinctrl-cygnus-mux.c pinctrl: use devm_platform_ioremap_resource() to simplify code 2019-11-05 15:33:40 +01:00
pinctrl-iproc-gpio.c pinctrl: Bulk conversion to generic_handle_domain_irq() 2021-08-12 11:39:39 +01:00
pinctrl-ns.c Revert "pinctrl: bcm: ns: support updated DT binding as syscon subnode" 2021-10-14 01:09:07 +02:00
pinctrl-ns2-mux.c pinctrl: bcm: Simplify bool comparison 2021-01-18 16:30:08 +01:00
pinctrl-nsp-gpio.c pinctrl: Bulk conversion to generic_handle_domain_irq() 2021-08-12 11:39:39 +01:00
pinctrl-nsp-mux.c remove ioremap_nocache and devm_ioremap_nocache 2020-01-06 09:45:59 +01:00