pinctrl: alderlake: 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:11 +0000 (14:54 +0300)
commitde1fabef28e09dedfc1fb6b75a23f5851ce78658
tree9ebe1927c66932f7bb2e154f578a6284f919808b
parente5530adc17a79f2a93e8b35e0ce673fc33f5f663
pinctrl: alderlake: 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-alderlake.c