dmaengine: dw: convert to use SET_LATE_SYSTEM_SLEEP_PM_OPS
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 15 Apr 2014 13:18:42 +0000 (16:18 +0300)
committerVinod Koul <vinod.koul@intel.com>
Wed, 7 May 2014 06:14:06 +0000 (11:44 +0530)
commitc31b6ae1b4a75680765ac66d80e2e107e8bf05a0
tree0e3678831967597bc54664af96af3b2a60df3427
parent067bd4fdfa17c3bbdac09b401667e967c81eb2b7
dmaengine: dw: convert to use SET_LATE_SYSTEM_SLEEP_PM_OPS

The commit 4501fe61 "dma: dw: Add suspend and resume handling for PCI mode
DW_DMAC." introduces system power management callbacks. Regarding to commit
f78c4cff "PM / Sleep: Add macro to define common late/early system PM
callbacks" we have nice macro to setup dev_pm_ops structure. This patch
converts a driver to use the macro.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/dw/pci.c