pinctrl: nuvoton: npcm8xx: use new pinctrl GPIO helpers
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Fri, 13 Oct 2023 12:02:14 +0000 (14:02 +0200)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Sat, 4 Nov 2023 09:23:19 +0000 (10:23 +0100)
commit481a59fb3d988b2d86c86a341b8040804ed9a282
tree9e32ea6936cc121a4df47e698824a05da109bb9d
parentc54d686d7d9975c2bdc5fca6ec30f1600817a628
pinctrl: nuvoton: npcm8xx: 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-npcm8xx.c