]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit012457361d6ad454aa8a5987d5dcb03420711667
treebd5c7f8b546f881936d9c72989de7046c39fd755
parent721dcc27699211993b46a90289dcddbbc92d3d89
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