Skip to content
Commit 091ac92d authored by Andy Shevchenko's avatar Andy Shevchenko Committed by Dipen Patel
Browse files

hte: tegra194: Switch to LATE_SIMPLE_DEV_PM_OPS()



SET_LATE_SYSTEM_SLEEP_PM_OPS is deprecated, replace it with
LATE_SYSTEM_SLEEP_PM_OPS() and use pm_sleep_ptr() for setting
the driver's pm routines. We can now remove the __maybe_unused
qualifier in the suspend and resume functions.

Tested-by: default avatarDipen Patel <dipenp@nvidia.com>
Reviewed-by: default avatarDipen Patel <dipenp@nvidia.com>
Reviewed-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20231010151709.4104747-5-andriy.shevchenko@linux.intel.com


Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: default avatarDipen Patel <dipenp@nvidia.com>
parent 0b40f91d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment