summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/intel/Kconfig
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2021-01-07 21:01:57 +0200
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>2021-01-08 14:57:16 +0200
commit036e126c72eb29b9464e5868c1ac86f8fd9c8a80 (patch)
treec9c7af870bd6e40583cf5b0f9b4d7396fc47d0c0 /drivers/pinctrl/intel/Kconfig
parente71ba9452f0b5b2e8dc8aa5445198cd9214a6a62 (diff)
downloadlinux-036e126c72eb29b9464e5868c1ac86f8fd9c8a80.tar.bz2
pinctrl: intel: Split intel_pinctrl_add_padgroups() for better maintenance
Currently the intel_pinctrl_add_padgroups() is twisted a bit due to a different nature of the pin control hardware implementations. Thus, its maintenance is a bit hard. Besides that some pieces of code are run on all hardware and make this code slightly inefficient, and moreover, validation for one case is done in a wrong time in a flow which makes it even slower. Split intel_pinctrl_add_padgroups() to two functions, one per hardware implementation, for better maintenance and readability. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Diffstat (limited to 'drivers/pinctrl/intel/Kconfig')
0 files changed, 0 insertions, 0 deletions