ACPI / PM: Use string "D3cold" to represent ACPI_STATE_D3_COLD
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 22 Jan 2013 11:56:26 +0000 (12:56 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 22 Jan 2013 11:56:26 +0000 (12:56 +0100)
Make acpi_power_state_string() return "D3cold" as the string
representation of ACPI power state D3cold instead of "D3" returned
currently, which is confusing.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/device_pm.c

index 2ce07cee0434147430b7fe2ecfcf9512b7238383..61ae99b09f1c20952f08f8381840cd176367242c 100644 (file)
@@ -115,7 +115,7 @@ const char *acpi_power_state_string(int state)
        case ACPI_STATE_D3_HOT:
                return "D3hot";
        case ACPI_STATE_D3_COLD:
-               return "D3";
+               return "D3cold";
        default:
                return "(unknown)";
        }