diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2017-07-21 15:49:51 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2017-07-25 00:57:46 +0300 |
commit | bebcdae3ec13b2171ff91594787ab37b3fdb3306 (patch) | |
tree | 4739f619ba52c71e2c84cc5d980b7949c7322e20 /include/linux/ide.h | |
parent | e516a1db43cea397cf63d395534236d9869f0310 (diff) | |
download | linux-bebcdae3ec13b2171ff91594787ab37b3fdb3306.tar.xz |
PM / suspend: Use mem_sleep_labels[] strings in messages
Some messages in suspend.c currently print state names from
pm_states[], but that may be confusing if the mem_sleep sysfs
attribute is changed to anything different from "mem", because
in those cases the messages will say either "freeze" or "standby"
after writing "mem" to /sys/power/state.
To avoid the confusion, use mem_sleep_labels[] strings in those
messages instead.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Diffstat (limited to 'include/linux/ide.h')
0 files changed, 0 insertions, 0 deletions