gpio: rockchip: use new pinctrl GPIO helpers
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Tue, 3 Oct 2023 08:06:22 +0000 (10:06 +0200)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Sat, 4 Nov 2023 09:23:19 +0000 (10:23 +0100)
commit7233d90aead374eb58513f035079acd15f9f51b2
tree84c29aa87771a027509e79c1e79f054c3946b13d
parent566e684e70cbfcb06039edcdf89637f211c914ba
gpio: rockchip: 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: Heiko Stuebner <heiko@sntech.de>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-rockchip.c