summaryrefslogtreecommitdiffstats
path: root/drivers/base
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2017-08-10 00:13:56 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2017-08-11 01:29:55 +0200
commitf02f4f9d826590f1ef1b087374d3e3cfb7949eac (patch)
tree97c4224ad70c86f047d757220914088446616ebc /drivers/base
parent690cbb90a709c1b9389c6cb8e1978e77553ce0fb (diff)
downloadlinux-stable-f02f4f9d826590f1ef1b087374d3e3cfb7949eac.tar.gz
linux-stable-f02f4f9d826590f1ef1b087374d3e3cfb7949eac.tar.bz2
linux-stable-f02f4f9d826590f1ef1b087374d3e3cfb7949eac.zip
PM / s2idle: Rename freeze_state enum and related items
Rename the freeze_state enum representing the suspend-to-idle state machine states to s2idle_states and rename the related variables and functions accordingly. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/base')
-rw-r--r--drivers/base/power/wakeup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/power/wakeup.c b/drivers/base/power/wakeup.c
index 144e6d8fafc8..34aebf3e460b 100644
--- a/drivers/base/power/wakeup.c
+++ b/drivers/base/power/wakeup.c
@@ -863,7 +863,7 @@ bool pm_wakeup_pending(void)
void pm_system_wakeup(void)
{
atomic_inc(&pm_abort_suspend);
- freeze_wake();
+ s2idle_wake();
}
EXPORT_SYMBOL_GPL(pm_system_wakeup);