pinctrl: starfive: jh7100: use new pinctrl GPIO helpers
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Fri, 13 Oct 2023 12:02:45 +0000 (14:02 +0200)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Sat, 4 Nov 2023 09:23:20 +0000 (10:23 +0100)
commit7cdd1db6afa1b7726433799db5964d8a99073490
tree199e2725838c6c198886582f048f5ce33dd46ea7
parenta3305049053a66e04def76e62fc94d7980d88a84
pinctrl: starfive: jh7100: 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/starfive/pinctrl-starfive-jh7100.c