[PATCH 1/2] pinctrl: meson: introduce a macro to have name/groups seperated

2018-01-07 Thread Yixun Lan
We introduce a macro FUNCTION_EX here, the main motivation is trying to have the possibility to expand the macro with the same of the '.name' number but different multiple '.groups/.num_groups' numbers. With this change, the meson pinctrl drivr is capable of have one uniform 'function' name but

[PATCH 1/2] pinctrl: meson: introduce a macro to have name/groups seperated

2018-01-07 Thread Yixun Lan
We introduce a macro FUNCTION_EX here, the main motivation is trying to have the possibility to expand the macro with the same of the '.name' number but different multiple '.groups/.num_groups' numbers. With this change, the meson pinctrl drivr is capable of have one uniform 'function' name but