USB: Rework musb suspend()/resume_early()
authorMagnus Damm <damm@igel.co.jp>
Wed, 8 Jul 2009 11:22:56 +0000 (13:22 +0200)
committerRafael J. Wysocki <rjw@sisk.pl>
Tue, 21 Jul 2009 22:28:39 +0000 (00:28 +0200)
commit48fea9659ec1a35641db3832adaf3860ecabb6ba
tree00d218b148617d9dd0802c8fba5eb92413f6052a
parent6a6c6189b1fef97de9b8b936131fe2085ac42a5a
USB: Rework musb suspend()/resume_early()

This patch reworks platform driver power management code
for musb from legacy callbacks to dev_pm_ops.

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

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
drivers/usb/musb/musb_core.c