diff options
author | Rafael J. Wysocki <rjw@sisk.pl> | 2010-07-02 00:12:26 +0200 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2010-07-06 18:29:47 -0400 |
commit | 25bed55753b8cf243406e8837990b55946c5278d (patch) | |
tree | b0c5549e45036cbf93a90e8d7c66a6148c5a8c61 /drivers/acpi/sleep.h | |
parent | e96c4b081df0991a57b244f68c3955a9ea00bd0a (diff) | |
download | linux-stable-25bed55753b8cf243406e8837990b55946c5278d.tar.gz linux-stable-25bed55753b8cf243406e8837990b55946c5278d.tar.bz2 linux-stable-25bed55753b8cf243406e8837990b55946c5278d.zip |
ACPI / Sleep: Rework enabling wakeup devices
There is no reason why acpi_enable_wakeup_device() should be called
with interrupts disabled, because it doesn't access hardware. Thus
it is possible to move it next to acpi_enable_wakeup_device_prep()
and make the ACPI suspend, hibernate and poweroff code more
straightforward.
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/sleep.h')
0 files changed, 0 insertions, 0 deletions