linux-stable/drivers/base/power
Rafael J. Wysocki 1c3f7d1c79 PM: Remove power_state.event checks from suspend core code
The suspend routines should be called for every device during a system sleep
transition, regardless of the device's state, so that drivers can regard these
method calls as notifications that the system is about to go to sleep, rather
than as directives to put their devices into the 'off' state.

This is documented in Documentation/power/devices.txt and is already done in
the core resume code, so it seems reasonable to make the core suspend code
behave accordingly.

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 power_state.event checks from suspend core code 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