diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2015-05-08 16:41:05 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2015-05-08 16:41:05 -0400 |
commit | 6656bde5ec868d89cc803539f9edf85a89497b6a (patch) | |
tree | 7260509e6f55643fb33cec6433f1e424c3a68354 | |
parent | 5ebe6afaf0057ac3eaeb98defd5456894b446d22 (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>
-rw-r--r-- | drivers/acpi/power.c | 2 |
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) | |||
710 | || (device->power.state > ACPI_STATE_D3_COLD)) | 710 | || (device->power.state > ACPI_STATE_D3_COLD)) |
711 | return -ENODEV; | 711 | return -ENODEV; |
712 | 712 | ||
713 | /* TBD: Resources must be ordered. */ | ||
714 | |||
715 | /* | 713 | /* |
716 | * First we reference all power resources required in the target list | 714 | * First we reference all power resources required in the target list |
717 | * (e.g. so the device doesn't lose power while transitioning). Then, | 715 | * (e.g. so the device doesn't lose power while transitioning). Then, |