]> git.karo-electronics.de Git - mv-sheeva.git/commit - include/acpi/acpi_bus.h
ACPI / Fan: Rework the handling of power resources
authorRafael J. Wysocki <rjw@sisk.pl>
Wed, 24 Nov 2010 23:11:24 +0000 (00:11 +0100)
committerLen Brown <len.brown@intel.com>
Wed, 12 Jan 2011 09:48:45 +0000 (04:48 -0500)
commit488a76c52606199100adf09c8eb7cbedbd94e9d9
treebd5c7f8b546f881936d9c72989de7046c39fd755
parentbf325f9538d8c89312be305b9779edbcb436af00
ACPI / Fan: Rework the handling of power resources

Use the new function acpi_bus_update_power() for manipulating power
resources used by ACPI fan devices, which allows them to be put into
the right state during initialization and resume.  Consequently,
remove the flags.force_power_state field from struct acpi_device,
which is not necessary any more.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/bus.c
drivers/acpi/fan.c
drivers/acpi/thermal.c
include/acpi/acpi_bus.h