pinctrl: intel: Define maximum pad number in the group
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 19 Dec 2022 12:32:40 +0000 (14:32 +0200)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 28 Dec 2022 12:20:19 +0000 (14:20 +0200)
commited153b0793ba8a3b11d909a78ff48b16878bd2f3
treeba912d955822b81f20c86acff2eee6fe690c48db
parent203a1c3ecae70076e14a652ca44b7ad9302eecd3
pinctrl: intel: Define maximum pad number in the group

Instead of using hard coded magic number here and there,
define maximum pad number in the group in newly added
INTEL_PINCTRL_MAX_GPP_SIZE.

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