Skip to content

Commit

Permalink
Merge branch 'pm-cpuidle'
Browse files Browse the repository at this point in the history
* pm-cpuidle:
  cpuidle-haltpoll: Fix small typo
  • Loading branch information
Rafael J. Wysocki committed Apr 10, 2020
2 parents 0f5c4c6 + 4902f7f commit a31434b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/cpuidle/cpuidle-haltpoll.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand All @@ -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);
Expand Down

0 comments on commit a31434b

Please sign in to comment.