pinctrl: s32cc: Use generic struct data to describe pin function
authorChester Lin <clin@suse.com>
Mon, 27 Mar 2023 06:27:53 +0000 (14:27 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 27 Mar 2023 21:36:18 +0000 (23:36 +0200)
commit966b0e64b6891aa785d9e44abad069d515f6cb8f
tree8cd1a0c579795d454ba9e871d646353540b3eb54
parent8ff169e8448ccbc569f2cc8767a4f34f3dbbc160
pinctrl: s32cc: Use generic struct data to describe pin function

Replace struct s32_pmx_func with generic struct pinfunction since they
have the same data fields.

Suggested-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Chester Lin <clin@suse.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/r/20230327062754.3326-5-clin@suse.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/nxp/pinctrl-s32.h
drivers/pinctrl/nxp/pinctrl-s32cc.c