summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/sleep.h
diff options
context:
space:
mode:
authorRafael J. Wysocki <rjw@sisk.pl>2010-07-02 00:12:26 +0200
committerLen Brown <len.brown@intel.com>2010-07-06 18:29:47 -0400
commit25bed55753b8cf243406e8837990b55946c5278d (patch)
treeb0c5549e45036cbf93a90e8d7c66a6148c5a8c61 /drivers/acpi/sleep.h
parente96c4b081df0991a57b244f68c3955a9ea00bd0a (diff)
downloadlinux-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