PM: Use a different list of devices for each stage of device suspend
authorRafael J. Wysocki <rjw@sisk.pl>
Wed, 15 Dec 2010 23:50:30 +0000 (00:50 +0100)
committerRafael J. Wysocki <rjw@sisk.pl>
Fri, 24 Dec 2010 14:02:43 +0000 (15:02 +0100)
Instead of keeping all devices in the same list during system suspend
and resume, regardless of what suspend-resume callbacks have been
executed for them already, use separate lists of devices that have
had their ->prepare(), ->suspend() and ->suspend_noirq() callbacks
executed.  This will allow us to simplify the core device suspend and
resume routines.

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

No differences found