commit | 25bed55753b8cf243406e8837990b55946c5278d | [log] [tgz] |
---|---|---|
author | Rafael J. Wysocki <rjw@sisk.pl> | Fri Jul 02 00:12:26 2010 +0200 |
committer | Len Brown <len.brown@intel.com> | Tue Jul 06 18:29:47 2010 -0400 |
tree | b0c5549e45036cbf93a90e8d7c66a6148c5a8c61 | |
parent | e96c4b081df0991a57b244f68c3955a9ea00bd0a [diff] |
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>