summaryrefslogtreecommitdiff
path: root/drivers/pinctrl/stm32
diff options
context:
space:
mode:
authorAndy Shevchenko <andy.shevchenko@gmail.com>2021-06-06 22:19:40 +0300
committerLinus Walleij <linus.walleij@linaro.org>2021-06-18 12:17:47 +0300
commit76b7f8fae30a9249f820e019f1e62eca992751a2 (patch)
treea6d1b384bee3f258c63988adf39d6cc23c7b004c /drivers/pinctrl/stm32
parent009c9aa5be652675a06d5211e1640e02bbb1c33d (diff)
downloadlinux-76b7f8fae30a9249f820e019f1e62eca992751a2.tar.xz
pinctrl: microchip-sgpio: Put fwnode in error case during ->probe()
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@microchip.com> Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com> Link: https://lore.kernel.org/r/20210606191940.29312-1-andy.shevchenko@gmail.com Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/stm32')
0 files changed, 0 insertions, 0 deletions