PM: Use pm_wakeup_pending() in __device_suspend()
authorRafael J. Wysocki <rjw@sisk.pl>
Fri, 3 Dec 2010 22:14:26 +0000 (23:14 +0100)
committerRafael J. Wysocki <rjw@sisk.pl>
Fri, 24 Dec 2010 14:02:42 +0000 (15:02 +0100)
Before starting to suspend a device in __device_suspend() check if
there's a request to abort the power transition and return -EBUSY
in that case.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>

No differences found