diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2017-08-10 00:14:45 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2017-08-11 01:29:56 +0200 |
commit | 28ba086ed30fb3fb714598aa029b894c3754fa7b (patch) | |
tree | 5df66ed12c89c18feec1c016429935ac82c36404 /kernel/sched/idle.c | |
parent | f02f4f9d826590f1ef1b087374d3e3cfb7949eac (diff) | |
download | linux-next-28ba086ed30fb3fb714598aa029b894c3754fa7b.tar.gz |
PM / s2idle: Rename ->enter_freeze to ->enter_s2idle
Rename the ->enter_freeze cpuidle driver callback to ->enter_s2idle
to make it clear that it is used for entering suspend-to-idle and
rename the related functions, variables and so on accordingly.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'kernel/sched/idle.c')
-rw-r--r-- | kernel/sched/idle.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched/idle.c b/kernel/sched/idle.c index 2ea4b7b23044..257f4f0b4532 100644 --- a/kernel/sched/idle.c +++ b/kernel/sched/idle.c @@ -169,7 +169,7 @@ static void cpuidle_idle_call(void) if (idle_should_enter_s2idle() || dev->use_deepest_state) { if (idle_should_enter_s2idle()) { - entered_state = cpuidle_enter_freeze(drv, dev); + entered_state = cpuidle_enter_s2idle(drv, dev); if (entered_state > 0) { local_irq_enable(); goto exit_idle; |