Rafael J. Wysocki ade3e7fef7 ACPI / PM: Add function for device power state initialization
Add function acpi_bus_init_power() for getting the initial power
state of an ACPI device and reference counting its power resources
as appropriate.

Make acpi_bus_get_power_flags() use the new function instead of
acpi_bus_get_power() that updates device->power.state without
reference counting the device's power resources.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Len Brown <len.brown@intel.com>
2011-01-12 04:48:44 -05:00
..
2010-12-11 02:01:48 -05:00
2010-10-26 14:51:00 -04:00
2010-10-15 15:53:27 +02:00
2010-10-15 15:53:27 +02:00
2010-10-15 22:02:47 -04:00
2010-10-26 14:51:00 -04:00
2010-08-15 01:06:31 -04:00
2010-08-15 00:27:51 -04:00
2010-09-28 21:38:19 -04:00