diff options
| author | Andy Shevchenko <[email protected]> | 2023-07-17 17:28:16 +0000 |
|---|---|---|
| committer | Andy Shevchenko <[email protected]> | 2023-08-18 16:42:37 +0000 |
| commit | 1956149dec0e8e8f533380337bc2d4f4ceb16b9a (patch) | |
| tree | ac183f1356387a42053d7bd5eab628da1bafcfba /tools/perf/scripts/python/syscall-counts.py | |
| parent | pinctrl: baytrail: Make use of pm_ptr() (diff) | |
| download | kernel-1956149dec0e8e8f533380337bc2d4f4ceb16b9a.tar.gz kernel-1956149dec0e8e8f533380337bc2d4f4ceb16b9a.zip | |
pinctrl: lynxpoint: Make use of pm_ptr()
Cleaning up the driver to use pm_ptr() and *_PM_OPS() macros that
make it simpler and allows the compiler to remove those functions
if built without CONFIG_PM and CONFIG_PM_SLEEP support.
The lp_gpio_resume() is also assigned to .thaw and .restore members.
This is not a problem as the function it enables input pins that
had been disabled by firmware and repetion of that doesn't change
the pin configuration, i.e. it is idempotent.
Reviewed-by: Paul Cercueil <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Andy Shevchenko <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
