summaryrefslogtreecommitdiff
path: root/drivers/acpi/bus.c
diff options
context:
space:
mode:
authorAlexey Starikovskiy <astarikovskiy@suse.de>2007-10-22 14:19:21 +0400
committerLen Brown <len.brown@intel.com>2007-10-25 16:31:31 -0400
commit93ad7c07ad487b036add8760dabcc35666a550ef (patch)
tree60538ab8a4eb901f94142a6a02a3ccf89b46895d /drivers/acpi/bus.c
parent968fc5dc2699434ea1cbddaf189f19c4eb4dbe55 (diff)
downloadlinux-3.10-93ad7c07ad487b036add8760dabcc35666a550ef.tar.gz
linux-3.10-93ad7c07ad487b036add8760dabcc35666a550ef.tar.bz2
linux-3.10-93ad7c07ad487b036add8760dabcc35666a550ef.zip
ACPI: Fan: Drop force_power_state acpi_device option
force_power_state was used as a workaround for invalid cached power state of the device. We do not cache power state, so no need for workaround. Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de> Acked-by: Rafael J. Wysocki <rjw@sisk.pl> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/bus.c')
-rw-r--r--drivers/acpi/bus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/bus.c b/drivers/acpi/bus.c
index fdee82d37b7..49d432d0a12 100644
--- a/drivers/acpi/bus.c
+++ b/drivers/acpi/bus.c
@@ -201,7 +201,7 @@ int acpi_bus_set_power(acpi_handle handle, int state)
* Get device's current power state
*/
acpi_bus_get_power(device->handle, &device->power.state);
- if ((state == device->power.state) && !device->flags.force_power_state) {
+ if (state == device->power.state) {
ACPI_DEBUG_PRINT((ACPI_DB_INFO, "Device is already at D%d\n",
state));
return 0;