pinctrl: stm32: Fix up errorpath after merge
authorLinus Walleij <linus.walleij@linaro.org>
Thu, 5 May 2022 14:24:06 +0000 (16:24 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 5 May 2022 14:24:06 +0000 (16:24 +0200)
commitf4b09d8d67efcc0620a9395b7a180bbd44066939
tree284cf3e14ec9dfed4e88f58c1cf49126d28a75bb
parentf4f1739a09dc7bcac3c6471cf3f82443934c3608
pinctrl: stm32: Fix up errorpath after merge

When merging the for_each_gpiochip_node() changes, I made
some mistakes by not disabling the clocks on the errorpath,
fix it up.

Fixes: a0912083086d ("Merge tag 'intel-gpio-v5.19-1' of git://git.kernel.org/pub/scm/linux/kernel/git/andy/linux-gpio-intel into devel")
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Fabien Dessenne <fabien.dessenne@foss.st.com>
Reported-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/stm32/pinctrl-stm32.c