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-04-23 23:00:13 -04:00
2008-04-23 23:00:13 -04:00
2008-04-23 23:00:13 -04:00
2008-04-23 23:00:13 -04:00
2008-04-23 23:00:13 -04:00
2008-03-18 02:31:34 -04:00
2008-04-29 10:09:52 -04:00
2007-02-12 22:42:12 -05:00
2008-06-10 14:37:14 -07:00
2008-06-10 14:37:14 -07:00
2008-02-07 03:33:23 -05:00
2008-02-07 03:33:23 -05:00
2008-02-07 03:33:23 -05:00
2008-06-10 14:37:14 -07:00
2008-03-18 05:13:14 -04:00