pinctrl: cherryview: use new pinctrl GPIO helpers
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Fri, 13 Oct 2023 11:54:10 +0000 (13:54 +0200)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Sat, 4 Nov 2023 09:23:21 +0000 (10:23 +0100)
commit588ad2b1b62a92f94168eb26d876150ba944fade
tree59536831cd907a0c15ed6d2845b330c3173a1a7d
parent78329866ef57bf7d41e690922fd56092138f9fd2
pinctrl: cherryview: 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>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/intel/pinctrl-cherryview.c