Skip to contentSkip to conversation

ACPI / PM: Drop stale comment from acpi_power_transition()

PATCH New Rafael J. Wysocki 1 participant 1 message May 7, 2015 ACPI

lore
Share & tools
lore
#0 lore raw

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

From: Rafael J. Wysocki <[email protected]>

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.

---
 drivers/acpi/power.c |    2 --
 1 file changed, 2 deletions(-)
drivers/acpi/power.c +0 -2
Index: 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,