PM / Domains: Do not restore all devices on power off error
authorRafael J. Wysocki <rjw@sisk.pl>
Mon, 11 Jul 2011 22:39:48 +0000 (00:39 +0200)
committerRafael J. Wysocki <rjw@sisk.pl>
Mon, 11 Jul 2011 22:39:48 +0000 (00:39 +0200)
Since every device in a PM domain has its own need_restore
flag, which is set by __pm_genpd_save_device(), there's no need to
walk the domain's device list and restore all devices on an error
from one of the drivers' .runtime_suspend() callbacks.

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

No differences found