diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2023-07-17 20:28:21 +0300 |
---|---|---|
committer | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2023-08-21 19:07:44 +0300 |
commit | 83f7586f3b365330765a24eb40f99a1c1a43d38e (patch) | |
tree | 65ad9dd002b9f48f0440435de02dd305a89594f9 /drivers/cpuidle | |
parent | 727eb02eb753375e6e8b829a19839ddd1006bfad (diff) |
pinctrl: tegra: Switch to use DEFINE_NOIRQ_DEV_PM_OPS() helper
Since pm.h provides a helper for system no-IRQ PM callbacks,
switch the driver to use it instead of open coded variant.
With that, make sure the PM ops are used only in CONFIG_PM_SLEEP=y
case by wrapping them in pm_sleep_ptr() macro.
Acked-by: Thierry Reding <treding@nvidia.com>
Link: https://lore.kernel.org/r/20230717172821.62827-11-andriy.shevchenko@linux.intel.com
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'drivers/cpuidle')
0 files changed, 0 insertions, 0 deletions