ACPI / PM: Drop stale comment from acpi_power_transition()
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 8 May 2015 20:41:05 +0000 (22:41 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 8 May 2015 20:41:05 +0000 (22:41 +0200)
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>
drivers/acpi/power.c

index e0bcfb642b52654f1dfb2f8948c1cac62ff96c68..59a6bf707f9187875ef09f635b230392fa64e55e 100644 (file)
@@ -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,