summaryrefslogtreecommitdiff
path: root/drivers/acpi/power.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2015-05-08 22:41:05 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2015-05-08 22:41:05 +0200
commit6656bde5ec868d89cc803539f9edf85a89497b6a (patch)
tree7260509e6f55643fb33cec6433f1e424c3a68354 /drivers/acpi/power.c
parent5ebe6afaf0057ac3eaeb98defd5456894b446d22 (diff)
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: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/power.c')
-rw-r--r--drivers/acpi/power.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/acpi/power.c b/drivers/acpi/power.c
index e0bcfb642b52..59a6bf707f91 100644
--- a/drivers/acpi/power.c
+++ b/drivers/acpi/power.c
@@ -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,