hte: tegra194: Switch to LATE_SIMPLE_DEV_PM_OPS()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 11 Oct 2023 20:26:38 +0000 (23:26 +0300)
committerDipen Patel <dipenp@nvidia.com>
Thu, 12 Oct 2023 16:33:15 +0000 (09:33 -0700)
commit091ac92dc79e35ba208b022936dc9f13e0bbad7c
treece89c53a552c8a89804e22293cda85180f9ba520
parent0b40f91d43f72d52fb2a3f04c018d703e0477cc3
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: Dipen Patel <dipenp@nvidia.com>
Reviewed-by: Dipen Patel <dipenp@nvidia.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20231010151709.4104747-5-andriy.shevchenko@linux.intel.com
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Dipen Patel <dipenp@nvidia.com>
drivers/hte/hte-tegra194.c