pinctrl: aw9523: Make use of struct pinfunction and PINCTRL_PINFUNCTION()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 29 Mar 2024 10:55:18 +0000 (12:55 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 4 Apr 2024 11:16:46 +0000 (13:16 +0200)
commit418ee9488ff74ab4ada3a539a2840dda9e56f847
tree17754ffc9c245e3337aaa7d3251d19790df92c5c
parent091655b9285d837db520381924c689bd5dc5d286
pinctrl: aw9523: Make use of struct pinfunction and PINCTRL_PINFUNCTION()

Since pin control provides a generic data type and a macro for
the pin function definition, use them in the driver.

Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Message-ID: <20240329105634.712457-5-andy.shevchenko@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-aw9523.c