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