aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/bus.c
diff options
context:
space:
mode:
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 47864013c0df..2ee83b5fff97 100644
--- a/drivers/acpi/bus.c
+++ b/drivers/acpi/bus.c
@@ -266,7 +266,7 @@ static int __acpi_bus_set_power(struct acpi_device *device, int state)
266 266
267 /* Make sure this is a valid target state */ 267 /* Make sure this is a valid target state */
268 268
269 if ((state == device->power.state) && !device->flags.force_power_state) { 269 if (state == device->power.state) {
270 ACPI_DEBUG_PRINT((ACPI_DB_INFO, "Device is already at D%d\n", 270 ACPI_DEBUG_PRINT((ACPI_DB_INFO, "Device is already at D%d\n",
271 state)); 271 state));
272 return 0; 272 return 0;