diff options
author | Alexey Starikovskiy <astarikovskiy@suse.de> | 2007-10-22 10:19:21 (GMT) |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2007-10-25 20:31:31 (GMT) |
commit | 93ad7c07ad487b036add8760dabcc35666a550ef (patch) | |
tree | 60538ab8a4eb901f94142a6a02a3ccf89b46895d /drivers/acpi/bus.c | |
parent | 968fc5dc2699434ea1cbddaf189f19c4eb4dbe55 (diff) | |
download | linux-93ad7c07ad487b036add8760dabcc35666a550ef.tar.xz |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/bus.c b/drivers/acpi/bus.c index fdee82d..49d432d 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; |