Skip to content

Commit 4902f7f

Browse files
Yihao Wurafaeljw
authored andcommitted
cpuidle-haltpoll: Fix small typo
Fix a spelling typo in cpuidle-haltpoll.c. Signed-off-by: Yihao Wu <[email protected]> [ rjw: Subject & changelog ] Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent dd52551 commit 4902f7f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/cpuidle/cpuidle-haltpoll.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ static void haltpoll_uninit(void)
9494
haltpoll_cpuidle_devices = NULL;
9595
}
9696

97-
static bool haltpool_want(void)
97+
static bool haltpoll_want(void)
9898
{
9999
return kvm_para_has_hint(KVM_HINTS_REALTIME) || force;
100100
}
@@ -110,7 +110,7 @@ static int __init haltpoll_init(void)
110110

111111
cpuidle_poll_state_init(drv);
112112

113-
if (!kvm_para_available() || !haltpool_want())
113+
if (!kvm_para_available() || !haltpoll_want())
114114
return -ENODEV;
115115

116116
ret = cpuidle_register_driver(drv);

0 commit comments

Comments
 (0)