Andy Shevchenko 1956149dec 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>
2023-08-18 19:42:37 +03:00
..
2023-02-22 11:05:56 -08:00
2023-02-22 11:05:56 -08:00
2022-10-24 17:06:47 +03:00
2023-03-06 12:33:01 +02:00
2022-10-24 17:06:48 +03:00
2022-10-24 17:06:48 +03:00
2023-02-22 11:05:56 -08:00
2022-10-24 17:06:48 +03:00
2022-10-24 17:06:48 +03:00