From: Rafael J. Wysocki Date: Mon, 7 Jul 2008 01:33:34 +0000 (+0200) Subject: ACPI: Introduce acpi_device_sleep_wake function X-Git-Tag: v2.6.27-rc1~1046^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=77e766099efc29d8b01db4b8244ff64fa3d3d0ca;p=pandora-kernel.git ACPI: Introduce acpi_device_sleep_wake function The currect ACPI code attempts to execute _PSW at three different places and in one of them only it tries to execute _DSW before _PSW, which is inconsistent with the other two cases. Move the execution of _DSW and _PSW into a separate function called acpi_device_sleep_wake() and call it wherever appropriate instead of executing _DSW and/or _PSW directly. Signed-off-by: Rafael J. Wysocki Acked-by: Pavel Machek Signed-off-by: Jesse Barnes --- Reading git-diff-tree failed