Skip to content

Commit

Permalink
ACPI / PM: Drop stale comment from acpi_power_transition()
Browse files Browse the repository at this point in the history
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@intel.com>
  • Loading branch information
Rafael J. Wysocki committed May 8, 2015
1 parent 5ebe6af commit 6656bde
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/acpi/power.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 6656bde

Please sign in to comment.