From: Aaron Lu Date: Tue, 19 Nov 2013 07:43:52 +0000 (+0800) Subject: ACPI / fan: use acpi_device_xxx_power instead of acpi_bus equivelant X-Git-Tag: fixes-against-v3.18-rc2~14^2^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2bb3a2bf9939f3361e25045f4ef7b136b864c3b8;p=pandora-kernel.git ACPI / fan: use acpi_device_xxx_power instead of acpi_bus equivelant When we have the acpi_device pointer, there is no need to pass the device's handle to the acpi_bus_xxx_power functions to get/set/update the device's power state, instead, use the acpi_device_xxx_power functions directly. To make this happen for fan module, export acpi_device_update_power. Signed-off-by: Aaron Lu Signed-off-by: Zhang Rui --- Reading git-diff-tree failed