mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 12:43:29 +02:00
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>
This commit is contained in:
committed by
Rafael J. Wysocki
parent
dd52551fb7
commit
4902f7fcb3
@@ -94,7 +94,7 @@ static void haltpoll_uninit(void)
|
|||||||
haltpoll_cpuidle_devices = NULL;
|
haltpoll_cpuidle_devices = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
static bool haltpool_want(void)
|
static bool haltpoll_want(void)
|
||||||
{
|
{
|
||||||
return kvm_para_has_hint(KVM_HINTS_REALTIME) || force;
|
return kvm_para_has_hint(KVM_HINTS_REALTIME) || force;
|
||||||
}
|
}
|
||||||
@@ -110,7 +110,7 @@ static int __init haltpoll_init(void)
|
|||||||
|
|
||||||
cpuidle_poll_state_init(drv);
|
cpuidle_poll_state_init(drv);
|
||||||
|
|
||||||
if (!kvm_para_available() || !haltpool_want())
|
if (!kvm_para_available() || !haltpoll_want())
|
||||||
return -ENODEV;
|
return -ENODEV;
|
||||||
|
|
||||||
ret = cpuidle_register_driver(drv);
|
ret = cpuidle_register_driver(drv);
|
||||||
|
Reference in New Issue
Block a user