summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorYihao Wu <wuyihao@linux.alibaba.com>2020-04-08 13:11:36 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2020-04-08 15:35:45 +0300
commit4902f7fcb3bcb4ce088db97bfd194401a784cc60 (patch)
treedaf0661ec2d682f7e3df54157e565e73d14948c5 /drivers
parentdd52551fb786aa7371bf9fe922573deafc26287e (diff)
downloadlinux-4902f7fcb3bcb4ce088db97bfd194401a784cc60.tar.xz
cpuidle-haltpoll: Fix small typo
Fix a spelling typo in cpuidle-haltpoll.c. Signed-off-by: Yihao Wu <wuyihao@linux.alibaba.com> [ rjw: Subject & changelog ] Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers')
-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);