Skip to content

Commit

Permalink
ACPI / PM: Use string "D3cold" to represent ACPI_STATE_D3_COLD
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Rafael J. Wysocki committed Jan 22, 2013
1 parent 87e753b commit 898fee4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/acpi/device_pm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)";
}
Expand Down

0 comments on commit 898fee4

Please sign in to comment.