]> www.infradead.org Git - users/jedix/linux-maple.git/commit
dmaengine: dw: Switch to LATE_SIMPLE_DEV_PM_OPS()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 5 Feb 2025 15:06:48 +0000 (17:06 +0200)
committerVinod Koul <vkoul@kernel.org>
Mon, 10 Feb 2025 10:59:11 +0000 (16:29 +0530)
commit1e137d53e8471b45257d937e9773b61a88807fe7
tree8f7f02bd087c23594e69c457d4f36cc46cf963a4
parent91d8560c15918c7d44e4f665fac829ba8057a2f3
dmaengine: dw: 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 ifdeffery
in the suspend and resume functions.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Serge Semin <fancer.lancer@gmail.com>
Link: https://lore.kernel.org/r/20250205150701.893083-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/dw/pci.c
drivers/dma/dw/platform.c