From: Rafael J. Wysocki Date: Thu, 1 Jul 2010 22:12:26 +0000 (+0200) Subject: ACPI / Sleep: Rework enabling wakeup devices X-Git-Tag: v2.6.36-rc1~1^2~12^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=25bed55753b8cf243406e8837990b55946c5278d;p=pandora-kernel.git 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 Signed-off-by: Len Brown --- Reading git-diff-tree failed