[PATCH] pinctrl: bcm2835: Handle gpiochip_add_pin_range() errors

Linus Walleij linus.walleij at linaro.org
Fri May 5 04:38:48 PDT 2023


On Sun, Apr 16, 2023 at 11:43 PM Christophe JAILLET
<christophe.jaillet at wanadoo.fr> wrote:

> gpiochip_add_pin_range() can fail, so better return its error code than
> a hard coded '0'.
>
> Fixes: d2b67744fd99 ("pinctrl: bcm2835: implement hook for missing gpio-ranges")
> Signed-off-by: Christophe JAILLET <christophe.jaillet at wanadoo.fr>

Patch applied for the next kernel cycle (becoming v6.5)

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list