ACPI, PCI: Move acpi_dev_run_wake() to ACPI core
authorLin Ming <ming.m.lin@intel.com>
Tue, 27 Mar 2012 07:43:25 +0000 (15:43 +0800)
committerLen Brown <len.brown@intel.com>
Fri, 30 Mar 2012 06:21:18 +0000 (02:21 -0400)
commitb24e5098853653554baf6ec975b9e855f3d6e5c0
treebe93ad39b826c64907bb48dceea034db5b91fc24
parent0090def6c37c8ea29508a435e581f2ef26fea10f
ACPI, PCI: Move acpi_dev_run_wake() to ACPI core

acpi_dev_run_wake() is a generic function which can be used by
other subsystem too. Rename it to acpi_pm_device_run_wake, to be
consistent with acpi_pm_device_sleep_wake.

Then move it to ACPI core.

Acked-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Lin Ming <ming.m.lin@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/sleep.c
drivers/pci/pci-acpi.c
include/acpi/acpi_bus.h