[PATCH v1 1/1] pinctrl: microchip-sgpio: Put fwnode in error case during ->probe()
Linus Walleij
linus.walleij at linaro.org
Fri Jun 18 02:19:13 PDT 2021
On Sun, Jun 6, 2021 at 9:21 PM Andy Shevchenko
<andy.shevchenko at gmail.com> wrote:
> device_for_each_child_node() bumps a reference counting of a returned variable.
> We have to balance it whenever we return to the caller.
>
> Fixes: 7e5ea974e61c ("pinctrl: pinctrl-microchip-sgpio: Add pinctrl driver for Microsemi Serial GPIO")
> Cc: Lars Povlsen <lars.povlsen at microchip.com>
> Signed-off-by: Andy Shevchenko <andy.shevchenko at gmail.com>
Patch applied for fixes, I got a bit snowed under because of
patch-spot activity.
Yours,
Linus Walleij
More information about the linux-arm-kernel
mailing list