ACPI / PM: Move device PM functions related to sleep states
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 2 Nov 2012 00:40:53 +0000 (01:40 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 14 Nov 2012 23:15:18 +0000 (00:15 +0100)
commita6ae7594b1b157e0e7976ed105a7be27d69a5361
treead9d2fdca3d7a20335d29498101917eb8fc8782b
parent078eb12648c2f8bba48921f60ec2cec3e1bbc051
ACPI / PM: Move device PM functions related to sleep states

Introduce helper function returning the target sleep state of the
system and use it to move the remaining device power management
functions from sleep.c to device_pm.c.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/device_pm.c
drivers/acpi/sleep.c
include/acpi/acpi_bus.h