linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] cpuidle-haltpoll: Fix a small typo of haltpoll
@ 2020-04-08 10:11 Yihao Wu
  2020-04-08 12:39 ` Rafael J. Wysocki
  0 siblings, 1 reply; 2+ messages in thread
From: Yihao Wu @ 2020-04-08 10:11 UTC (permalink / raw)
  To: Rafael J . Wysocki, Daniel Lezcano; +Cc: linux-pm

This patch fix a spelling typo in cpuidle-haltpoll.c

Signed-off-by: Yihao Wu <wuyihao@linux.alibaba.com>
---
 drivers/cpuidle/cpuidle-haltpoll.c | 4 ++--
 1 file 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);
-- 
2.20.1.2432.ga663e714


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] cpuidle-haltpoll: Fix a small typo of haltpoll
  2020-04-08 10:11 [PATCH] cpuidle-haltpoll: Fix a small typo of haltpoll Yihao Wu
@ 2020-04-08 12:39 ` Rafael J. Wysocki
  0 siblings, 0 replies; 2+ messages in thread
From: Rafael J. Wysocki @ 2020-04-08 12:39 UTC (permalink / raw)
  To: Yihao Wu; +Cc: Rafael J . Wysocki, Daniel Lezcano, Linux PM

On Wed, Apr 8, 2020 at 12:11 PM Yihao Wu <wuyihao@linux.alibaba.com> wrote:
>
> This patch fix a spelling typo in cpuidle-haltpoll.c
>
> Signed-off-by: Yihao Wu <wuyihao@linux.alibaba.com>
> ---
>  drivers/cpuidle/cpuidle-haltpoll.c | 4 ++--
>  1 file 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);
> --

Applied as 5.7-rc material, thanks!

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-04-08 12:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-08 10:11 [PATCH] cpuidle-haltpoll: Fix a small typo of haltpoll Yihao Wu
2020-04-08 12:39 ` Rafael J. Wysocki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).