diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-01-22 06:56:26 -0500 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-01-22 06:56:26 -0500 |
commit | 898fee4f6ed52b5b5dd159b221d2ad7ce40ae2dd (patch) | |
tree | 9e6584893b97373a671abca3c3bb1ddc155e4fcf /drivers | |
parent | 87e753b0065f94314ebdacf6593a172cdd7839c8 (diff) |
ACPI / PM: Use string "D3cold" to represent ACPI_STATE_D3_COLD
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/acpi/device_pm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/device_pm.c b/drivers/acpi/device_pm.c index 2ce07cee0434..61ae99b09f1c 100644 --- a/drivers/acpi/device_pm.c +++ b/drivers/acpi/device_pm.c | |||
@@ -115,7 +115,7 @@ const char *acpi_power_state_string(int state) | |||
115 | case ACPI_STATE_D3_HOT: | 115 | case ACPI_STATE_D3_HOT: |
116 | return "D3hot"; | 116 | return "D3hot"; |
117 | case ACPI_STATE_D3_COLD: | 117 | case ACPI_STATE_D3_COLD: |
118 | return "D3"; | 118 | return "D3cold"; |
119 | default: | 119 | default: |
120 | return "(unknown)"; | 120 | return "(unknown)"; |
121 | } | 121 | } |