PM / sleep: Refine diagnostic messages in enter_state()
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 5 May 2015 21:42:25 +0000 (23:42 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 12 May 2015 21:45:12 +0000 (23:45 +0200)
commita921504588cfe0e11d9306536bdf131b5b957fd3
tree3c3104881819df9495cb0212a6999a880de587aa
parentb6ec94520c5b944da9e045e173ddb453ecf42da3
PM / sleep: Refine diagnostic messages in enter_state()

Some of the system suspend diagnostic messages related to
suspend-to-idle refer to it as "freeze sleep" or "freeze state"
while the others say "suspend-to-idle".  To reduce the possible
confusion that may result from that, refine the former either to
say "suspend to idle" too or to make it clearer that what is printed
is a state string written to /sys/power/state ("mem", "standby",
or "freeze").

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
kernel/power/suspend.c