Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6656bde5 authored by Rafael J. Wysocki's avatar Rafael J. Wysocki
Browse files

ACPI / PM: Drop stale comment from acpi_power_transition()



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: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent 5ebe6afa
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -710,8 +710,6 @@ int acpi_power_transition(struct acpi_device *device, int state)
	    || (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,