diff options
| author | Andy Shevchenko <[email protected]> | 2023-07-17 17:28:21 +0000 |
|---|---|---|
| committer | Andy Shevchenko <[email protected]> | 2023-08-21 16:07:44 +0000 |
| commit | 83f7586f3b365330765a24eb40f99a1c1a43d38e (patch) | |
| tree | 65ad9dd002b9f48f0440435de02dd305a89594f9 /drivers/pci/controller/dwc | |
| parent | pinctrl: renesas: Switch to use DEFINE_NOIRQ_DEV_PM_OPS() helper (diff) | |
| download | kernel-83f7586f3b365330765a24eb40f99a1c1a43d38e.tar.gz kernel-83f7586f3b365330765a24eb40f99a1c1a43d38e.zip | |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Andy Shevchenko <[email protected]>
Diffstat (limited to 'drivers/pci/controller/dwc')
0 files changed, 0 insertions, 0 deletions
