Skip to content

Commit a31434b

Browse files
committed
Merge branch 'pm-cpuidle'
* pm-cpuidle: cpuidle-haltpoll: Fix small typo
2 parents 0f5c4c6 + 4902f7f commit a31434b

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)