pinctrl: intel: Introduce INTEL_COMMUNITY_*() to unify community macros
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 19 Dec 2022 12:26:27 +0000 (14:26 +0200)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 27 Dec 2022 19:17:53 +0000 (21:17 +0200)
commit100b54e47162d07a931236073b31602284670e7d
tree84c4b947d06670dc58c3864faa26b9e9c8c2e5e8
parent1b929c02afd37871d5afb9d498426f83432e71c2
pinctrl: intel: Introduce INTEL_COMMUNITY_*() to unify community macros

Now it becomes visible that we can deduplicate SoC specific
*_COMMUNITY() macros across the Intel pin control drivers.
For that, introduce a common INTEL_COMMUNITY_GPPS() and
INTEL_COMMUNITY_SIZE() macros in the pinctrl-intel.h.

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