pinctrl: stm32: Switch to use for_each_gpiochip_node() helper
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 1 Apr 2022 10:35:55 +0000 (13:35 +0300)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 8 Apr 2022 12:54:54 +0000 (15:54 +0300)
commitbb949ed9b16ba4575c76f7be55d4279e35ddccc1
tree66b175af7a431de98f5d162a15aed06ce637d9ad
parentd9463201ec0824037a9ca84b9bb03a79d4460cfb
pinctrl: stm32: Switch to use for_each_gpiochip_node() helper

Switch the code to use for_each_gpiochip_node() helper.

While at it, in order to avoid additional churn in the future,
switch to fwnode APIs where it makes sense.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Fabien Dessenne <fabien.dessenne@foss.st.com>
drivers/pinctrl/stm32/pinctrl-stm32.c