ACPI / Sleep: Rework enabling wakeup devices
authorRafael J. Wysocki <rjw@sisk.pl>
Thu, 1 Jul 2010 22:12:26 +0000 (00:12 +0200)
committerLen Brown <len.brown@intel.com>
Tue, 6 Jul 2010 22:29:47 +0000 (18:29 -0400)
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>

No differences found