pinctrl: tigerlake: Deduplicate COMMUNITY macro code
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 18 Oct 2022 22:00:55 +0000 (01:00 +0300)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 26 Oct 2022 11:54:12 +0000 (14:54 +0300)
commit1177ca3a0b53bdfb1438e33a5546527de728ec10
tree54477baeea514c477aff2ae23e6d15c7cdcb13c5
parent2d145b8bd3eb72ed577550355430930ec1057d15
pinctrl: tigerlake: Deduplicate COMMUNITY macro code

Define a common COMMUNITY macro and supply a variant to it.
This removes some verbosity in macros.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
drivers/pinctrl/intel/pinctrl-tigerlake.c