diff options
author | Rafael J. Wysocki <rjw@sisk.pl> | 2010-07-06 22:09:38 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2010-07-06 22:09:38 -0400 |
commit | 78f5f023167813130d2cf657d1b9eadc32f0e992 (patch) | |
tree | 8b15e1f2b05cb82e277b7d6bff94501608c225de /drivers/acpi/sleep.h | |
parent | 25bed55753b8cf243406e8837990b55946c5278d (diff) | |
download | linux-78f5f023167813130d2cf657d1b9eadc32f0e992.tar.gz linux-78f5f023167813130d2cf657d1b9eadc32f0e992.tar.bz2 linux-78f5f023167813130d2cf657d1b9eadc32f0e992.zip |
ACPI / Wakeup: Simplify enabling of wakeup devices
To simplify the enabling of wakeup devices during system suspend and
hibernation, merge acpi_enable_wakeup_device_prep() with
acpi_disable_wakeup_device() and remove unnecessary (and no longer
valid) comments from the latter. Rename acpi_enable_wakeup_device()
to acpi_enable_wakeup_devices() and acpi_disable_wakeup_device()
to acpi_disable_wakeup_devices(), because these functions usually
operate on multiple device objects.
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/sleep.h')
-rw-r--r-- | drivers/acpi/sleep.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/acpi/sleep.h b/drivers/acpi/sleep.h index 25b8bd149284..d8821805c3bc 100644 --- a/drivers/acpi/sleep.h +++ b/drivers/acpi/sleep.h @@ -2,9 +2,8 @@ extern u8 sleep_states[]; extern int acpi_suspend(u32 state); -extern void acpi_enable_wakeup_device_prep(u8 sleep_state); -extern void acpi_enable_wakeup_device(u8 sleep_state); -extern void acpi_disable_wakeup_device(u8 sleep_state); +extern void acpi_enable_wakeup_devices(u8 sleep_state); +extern void acpi_disable_wakeup_devices(u8 sleep_state); extern struct list_head acpi_wakeup_device_list; extern struct mutex acpi_device_lock; |