summaryrefslogtreecommitdiffstats
path: root/drivers/cpuidle
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2020-04-10 11:32:22 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2020-04-10 11:32:22 +0200
commita31434bcd4cb73b13cd8136c3cbba966dd01f058 (patch)
treeeab148ff65a783b2857071c509aa74438b57e346 /drivers/cpuidle
parent0f5c4c6e0e9874952e2950465a8859782437b465 (diff)
parent4902f7fcb3bcb4ce088db97bfd194401a784cc60 (diff)
downloadlinux-a31434bcd4cb73b13cd8136c3cbba966dd01f058.tar.gz
linux-a31434bcd4cb73b13cd8136c3cbba966dd01f058.tar.bz2
linux-a31434bcd4cb73b13cd8136c3cbba966dd01f058.zip
Merge branch 'pm-cpuidle'
* pm-cpuidle: cpuidle-haltpoll: Fix small typo
Diffstat (limited to 'drivers/cpuidle')
-rw-r--r--drivers/cpuidle/cpuidle-haltpoll.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/cpuidle/cpuidle-haltpoll.c b/drivers/cpuidle/cpuidle-haltpoll.c
index db124bc1ca2c..fcc53215bac8 100644
--- a/drivers/cpuidle/cpuidle-haltpoll.c
+++ b/drivers/cpuidle/cpuidle-haltpoll.c
@@ -94,7 +94,7 @@ static void haltpoll_uninit(void)
haltpoll_cpuidle_devices = NULL;
}
-static bool haltpool_want(void)
+static bool haltpoll_want(void)
{
return kvm_para_has_hint(KVM_HINTS_REALTIME) || force;
}
@@ -110,7 +110,7 @@ static int __init haltpoll_init(void)
cpuidle_poll_state_init(drv);
- if (!kvm_para_available() || !haltpool_want())
+ if (!kvm_para_available() || !haltpoll_want())
return -ENODEV;
ret = cpuidle_register_driver(drv);