diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2021-01-07 22:01:57 +0300 |
---|---|---|
committer | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2021-01-08 15:57:16 +0300 |
commit | 036e126c72eb29b9464e5868c1ac86f8fd9c8a80 (patch) | |
tree | c9c7af870bd6e40583cf5b0f9b4d7396fc47d0c0 /Documentation/driver-api/memory-devices | |
parent | e71ba9452f0b5b2e8dc8aa5445198cd9214a6a62 (diff) | |
download | linux-036e126c72eb29b9464e5868c1ac86f8fd9c8a80.tar.xz |
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 'Documentation/driver-api/memory-devices')
0 files changed, 0 insertions, 0 deletions