[PATCH] ACPI / PM: Drop stale comment from acpi_power_transition()

From: Rafael J. Wysocki
Date: Thu May 07 2015 - 18:43:25 EST


From: Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx>

An old comment in acpi_power_transition() indicates that support
for ordering power resources needs to be added, but the current
code handles that already.

Drop the comment to avoid confusion.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx>
---
drivers/acpi/power.c | 2 --
1 file changed, 2 deletions(-)

Index: linux-pm/drivers/acpi/power.c
===================================================================
--- linux-pm.orig/drivers/acpi/power.c
+++ linux-pm/drivers/acpi/power.c
@@ -711,8 +711,6 @@ int acpi_power_transition(struct acpi_de
|| (device->power.state > ACPI_STATE_D3_COLD))
return -ENODEV;

- /* TBD: Resources must be ordered. */
-
/*
* First we reference all power resources required in the target list
* (e.g. so the device doesn't lose power while transitioning). Then,

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/