diff options
author | 2017-08-10 00:13:07 +0200 | |
---|---|---|
committer | 2017-08-11 01:29:55 +0200 | |
commit | 690cbb90a709c1b9389c6cb8e1978e77553ce0fb (patch) | |
tree | 5ac99e8467e76c7555d0dd29e81b8c09c7c4145c /kernel/power/suspend_test.c | |
parent | ACPI / PM: Prefer suspend-to-idle over S3 on some systems (diff) | |
download | linux-690cbb90a709c1b9389c6cb8e1978e77553ce0fb.tar.gz linux-690cbb90a709c1b9389c6cb8e1978e77553ce0fb.tar.bz2 linux-690cbb90a709c1b9389c6cb8e1978e77553ce0fb.zip |
PM / s2idle: Rename PM_SUSPEND_FREEZE to PM_SUSPEND_TO_IDLE
To make it clear that the symbol in question refers to
suspend-to-idle, rename it from PM_SUSPEND_FREEZE to
PM_SUSPEND_TO_IDLE.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'kernel/power/suspend_test.c')
-rw-r--r-- | kernel/power/suspend_test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/power/suspend_test.c b/kernel/power/suspend_test.c index 5db217051232..6a897e8b2a88 100644 --- a/kernel/power/suspend_test.c +++ b/kernel/power/suspend_test.c @@ -104,9 +104,9 @@ repeat: printk(info_test, pm_states[state]); status = pm_suspend(state); if (status < 0) - state = PM_SUSPEND_FREEZE; + state = PM_SUSPEND_TO_IDLE; } - if (state == PM_SUSPEND_FREEZE) { + if (state == PM_SUSPEND_TO_IDLE) { printk(info_test, pm_states[state]); status = pm_suspend(state); } |