Rafael J. Wysocki 77e766099e 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 <rjw@sisk.pl>
Acked-by: Pavel Machek <pavel@suse.cz>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
2008-07-07 16:25:57 -07:00
..
2008-06-06 11:29:12 -07:00
2008-05-27 13:24:39 -07:00
2008-06-05 18:13:16 +01:00
2008-05-20 00:33:44 -07:00
2008-05-30 02:01:28 -07:00
2008-06-06 11:29:12 -07:00
2008-07-07 16:02:40 -07:00
2008-06-04 12:40:15 -07:00