linux-kernel-test/drivers/base/power
Rafael J. Wysocki 515c535762 PM: Remove prev_state from struct dev_pm_info
The prev_state member of struct dev_pm_info (defined in include/linux/pm.h) is
only used during a resume to check if the device's state before the suspend was
'off', in which case the device is not resumed.  However, in such cases the
decision whether or not to resume the device should be made on the driver level
and the resume callbacks from the device's bus and class should be executed
anyway (the may be needed for some things other than just powering on the
device).

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2007-07-11 16:09:02 -07:00
..
main.c PM: Remove pm_parent from struct dev_pm_info 2007-07-11 16:09:01 -07:00
Makefile Add some basic resume trace facilities 2006-06-24 14:44:01 -07:00
power.h Power Management: use mutexes instead of semaphores 2007-07-11 16:09:01 -07:00
resume.c PM: Remove prev_state from struct dev_pm_info 2007-07-11 16:09:02 -07:00
runtime.c Power Management: use mutexes instead of semaphores 2007-07-11 16:09:01 -07:00
shutdown.c remove "struct subsystem" as it is no longer needed 2007-05-02 18:57:59 -07:00
suspend.c PM: Remove prev_state from struct dev_pm_info 2007-07-11 16:09:02 -07:00
sysfs.c PM: add kconfig option for deprecated .../power/state files 2006-09-25 21:08:37 -07:00
trace.c Add some basic resume trace facilities 2006-06-24 14:44:01 -07:00