pinctrl: nuvoton: npcm7xx: use new pinctrl GPIO helpers
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Fri, 13 Oct 2023 12:02:00 +0000 (14:02 +0200)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Sat, 4 Nov 2023 09:23:19 +0000 (10:23 +0100)
commitc54d686d7d9975c2bdc5fca6ec30f1600817a628
tree056792886aeb755c23d06f3722e27cf3f77defe5
parent506e94e1084fec07f0f657883f4d5845c0c76bd5
pinctrl: nuvoton: npcm7xx: use new pinctrl GPIO helpers

Replace the pinctrl helpers taking the global GPIO number as argument
with the improved variants that instead take a pointer to the GPIO chip
and the controller-relative offset.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c