From: Rafael J. Wysocki Date: Wed, 24 Nov 2010 23:11:24 +0000 (+0100) Subject: ACPI / Fan: Rework the handling of power resources X-Git-Tag: v2.6.38-rc1~68^2~20^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=488a76c52606199100adf09c8eb7cbedbd94e9d9;p=pandora-kernel.git 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 Signed-off-by: Len Brown --- Reading git-diff-tree failed