]> git.ipfire.org Git - thirdparty/linux.git/commit
pinctrl: wpcm450: Switch to use for_each_gpiochip_node() helper
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 20 Feb 2025 15:50:11 +0000 (17:50 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 27 Feb 2025 23:29:48 +0000 (00:29 +0100)
commite2a9df2fe119f030f30b7dcba5c734058fd37487
treed0ce9d9d5c142115c71befdab5d484bdbb2cb37b
parent73c2cdfdcf772cd8cc2be14b2b9e16f91d0f746d
pinctrl: wpcm450: Switch to use for_each_gpiochip_node() helper

Switch the code to use for_each_gpiochip_node() helper.

While at it, correct header inclusion as device property APIs
are provided in property.h.

Reviewed-by: J. Neuschäfer <j.ne@posteo.net>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/20250220155036.2734838-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/nuvoton/pinctrl-wpcm450.c