]> git.karo-electronics.de Git - mv-sheeva.git/commit
ACPI / Wakeup: Simplify enabling of wakeup devices
authorRafael J. Wysocki <rjw@sisk.pl>
Wed, 7 Jul 2010 02:09:38 +0000 (22:09 -0400)
committerLen Brown <len.brown@intel.com>
Wed, 7 Jul 2010 02:09:38 +0000 (22:09 -0400)
commit78f5f023167813130d2cf657d1b9eadc32f0e992
tree8b15e1f2b05cb82e277b7d6bff94501608c225de
parent25bed55753b8cf243406e8837990b55946c5278d
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>
drivers/acpi/sleep.c
drivers/acpi/sleep.h
drivers/acpi/wakeup.c