pinctrl: nuvoton: Convert to use struct pingroup and PINCTRL_PINGROUP()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 4 Dec 2023 15:56:36 +0000 (17:56 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 7 Dec 2023 09:53:57 +0000 (10:53 +0100)
commit583b5273a624e7d87b7038404cb1524450abdfbc
tree460585de33ab0da7effbd60bbaa843a27f087e6b
parent3859a6fdf0edd54e05d0a35a2b418dbf85d43dc1
pinctrl: nuvoton: Convert to use struct pingroup and PINCTRL_PINGROUP()

The pin control header provides struct pingroup and PINCTRL_PINGROUP() macro.
Utilize them instead of open coded variants in the driver.

Reviewed-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20231204160033.1872569-6-andriy.shevchenko@linux.intel.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/nuvoton/pinctrl-wpcm450.c