summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/sleep.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2017-08-10 00:13:07 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2017-08-11 01:29:55 +0200
commit690cbb90a709c1b9389c6cb8e1978e77553ce0fb (patch)
tree5ac99e8467e76c7555d0dd29e81b8c09c7c4145c /drivers/acpi/sleep.c
parente870c6c87cf9484090d28f2a68aa29e008960c93 (diff)
downloadlinux-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 'drivers/acpi/sleep.c')
-rw-r--r--drivers/acpi/sleep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/sleep.c b/drivers/acpi/sleep.c
index b363283dfcd9..a0a6fd10fb5f 100644
--- a/drivers/acpi/sleep.c
+++ b/drivers/acpi/sleep.c
@@ -719,7 +719,7 @@ static int lps0_device_attach(struct acpi_device *adev,
* suspend mode was not set from the command line.
*/
if (mem_sleep_default > PM_SUSPEND_MEM)
- mem_sleep_current = PM_SUSPEND_FREEZE;
+ mem_sleep_current = PM_SUSPEND_TO_IDLE;
}
acpi_handle_debug(adev->handle, "_DSM function mask: 0x%x\n",