[PATCH 1/2] PM / suspend: Use mem_sleep_labels[] strings in messages

2017-07-21 Thread Rafael J. Wysocki
From: Rafael J. Wysocki 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

[PATCH 1/2] PM / suspend: Use mem_sleep_labels[] strings in messages

2017-07-21 Thread Rafael J. Wysocki
From: Rafael J. Wysocki 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"