mfd: lpc_ich: Move APL GPIO resources to a custom structure
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 26 Sep 2023 19:08:33 +0000 (22:08 +0300)
committerLee Jones <lee@kernel.org>
Wed, 1 Nov 2023 10:02:13 +0000 (10:02 +0000)
commit1f84f88dc15036d63fa7c84833a440370f22a74b
treef2c068aecfd6a32b19c09abefdeeb6651fbc0184
parent16c4c1bb7e01d5de797c43d7a2396434f2078b0a
mfd: lpc_ich: Move APL GPIO resources to a custom structure

We are expecting more platforms that want to instantiate
the GPIO device via P2SB. For them prepare the custom structure
and move Apollo Lake data there. Refactor the code accordingly.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20230926190834.932233-3-andriy.shevchenko@linux.intel.com
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/mfd/lpc_ich.c
include/linux/mfd/lpc_ich.h