commit | 8a43a9ab7b329aa8590f8a064df9bf8c80987507 | [log] [tgz] |
---|---|---|
author | Rafael J. Wysocki <rjw@sisk.pl> | Thu Dec 16 00:50:30 2010 +0100 |
committer | Rafael J. Wysocki <rjw@sisk.pl> | Fri Dec 24 15:02:43 2010 +0100 |
tree | 7e60bb0dd5f4dcf6531aa3aad196930f02553166 | |
parent | 2cbb3ce1ad19e66858a4284dd6c4bb958162c483 [diff] |
PM: Use a different list of devices for each stage of device suspend 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>