pinctrl: cy8c95x0: use new pinctrl GPIO helpers
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Tue, 3 Oct 2023 08:21:02 +0000 (10:21 +0200)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Sat, 4 Nov 2023 09:23:20 +0000 (10:23 +0100)
commitb2979a1786bcaca324b879f0d9f2590979b525e2
treea75a3c09e75ce4a5442f2a1b843cafe0ec9f1b91
parentf7fdb230ca16f1f4516f6ef826548aa044e9a521
pinctrl: cy8c95x0: 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: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-cy8c95x0.c