at_hdmac: Rework suspend_late()/resume_early()
authorDan Williams <dan.j.williams@intel.com>
Wed, 9 Sep 2009 22:06:44 +0000 (00:06 +0200)
committerRafael J. Wysocki <rjw@sisk.pl>
Mon, 14 Sep 2009 18:27:00 +0000 (20:27 +0200)
commit33f82d141c897f39cd8bce592d88cb3c5af58342
tree7765831183d05fb635e60e8f8bf92e0bdfe06b5c
parent3eb132c986f04f64b9c360abd67a1e0d18d6d5b4
at_hdmac: Rework suspend_late()/resume_early()

This patch reworks platform driver power management code
for at_hdmac from legacy late/early callbacks to dev_pm_ops.

The callbacks are converted for CONFIG_SUSPEND like this:
  suspend_late() -> suspend_noirq()
  resume_early() -> resume_noirq()

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
drivers/dma/at_hdmac.c