]> www.infradead.org Git - users/jedix/linux-maple.git/commit
pinctrl: ingenic: Provide a helper macro INGENIC_PIN_FUNCTION()
authorAndy Shevchenko <andy.shevchenko@gmail.com>
Thu, 30 May 2024 08:55:12 +0000 (11:55 +0300)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 17 Jun 2024 07:23:56 +0000 (09:23 +0200)
commit7f2a2af08808783d0a6ca8993af795c435a62e05
tree7dfd828f10268c83e04c4dff25f218524d1a734f
parent18f5c202de46c754a9f65b566de3a2053ebf1fec
pinctrl: ingenic: Provide a helper macro INGENIC_PIN_FUNCTION()

Provide a helper macro to assign the struct function_desc entries.
This helps further refactoring.

Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/r/20240530085745.1539925-4-andy.shevchenko@gmail.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-ingenic.c