dmaengine: shdmac: use SET_RUNTIME_PM_OPS()
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Tue, 20 Jan 2015 21:09:46 +0000 (00:09 +0300)
committerVinod Koul <vinod.koul@intel.com>
Thu, 12 Feb 2015 07:22:17 +0000 (12:52 +0530)
Use SET_RUNTIME_PM_OPS() to initialize the runtime PM method pointers in the
'struct dev_pm_ops';  since that macro doesn't  do anything  if CONFIG_PM is
not defined, we have  to move #ifdef up to also cover the runtime PM methods
in order to avoid compilation warnings.

Based on orignal patch by Mikhail Ulyanov <mikhail.ulyanov@cogentembedded.com>.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>

No differences found