diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2023-07-17 20:28:16 +0300 |
---|---|---|
committer | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2023-08-18 19:42:37 +0300 |
commit | 1956149dec0e8e8f533380337bc2d4f4ceb16b9a (patch) | |
tree | ac183f1356387a42053d7bd5eab628da1bafcfba /scripts/gdb/linux/vfs.py | |
parent | df660f66ba5350c4cb8c6aa04e6eed909c929a46 (diff) |
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 <paul@crapouillou.net>
Link: https://lore.kernel.org/r/20230717172821.62827-6-andriy.shevchenko@linux.intel.com
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'scripts/gdb/linux/vfs.py')
0 files changed, 0 insertions, 0 deletions