* [PATCH] cpuidle: governors: Fixes typos in comments
@ 2025-04-05 6:09 Atul Kumar Pant
2025-04-09 17:35 ` Rafael J. Wysocki
0 siblings, 1 reply; 2+ messages in thread
From: Atul Kumar Pant @ 2025-04-05 6:09 UTC (permalink / raw)
To: rafael, daniel.lezcano; +Cc: Atul Kumar Pant, linux-pm, linux-kernel
Fixes typos and corrects spelling in the comments.
Signed-off-by: Atul Kumar Pant <atulpant.linux@gmail.com>
---
drivers/cpuidle/governors/teo.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/cpuidle/governors/teo.c b/drivers/cpuidle/governors/teo.c
index 8fe5e1b47..bfa55c1ea 100644
--- a/drivers/cpuidle/governors/teo.c
+++ b/drivers/cpuidle/governors/teo.c
@@ -19,7 +19,7 @@
*
* Of course, non-timer wakeup sources are more important in some use cases,
* but even then it is generally unnecessary to consider idle duration values
- * greater than the time time till the next timer event, referred as the sleep
+ * greater than the time till the next timer event, referred as the sleep
* length in what follows, because the closest timer will ultimately wake up the
* CPU anyway unless it is woken up earlier.
*
@@ -311,7 +311,7 @@ static int teo_select(struct cpuidle_driver *drv, struct cpuidle_device *dev,
struct cpuidle_state *s = &drv->states[i];
/*
- * Update the sums of idle state mertics for all of the states
+ * Update the sums of idle state metrics for all of the states
* shallower than the current one.
*/
intercept_sum += prev_bin->intercepts;
--
2.34.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] cpuidle: governors: Fixes typos in comments
2025-04-05 6:09 [PATCH] cpuidle: governors: Fixes typos in comments Atul Kumar Pant
@ 2025-04-09 17:35 ` Rafael J. Wysocki
0 siblings, 0 replies; 2+ messages in thread
From: Rafael J. Wysocki @ 2025-04-09 17:35 UTC (permalink / raw)
To: Atul Kumar Pant; +Cc: rafael, daniel.lezcano, linux-pm, linux-kernel
On Sat, Apr 5, 2025 at 8:09 AM Atul Kumar Pant <atulpant.linux@gmail.com> wrote:
>
> Fixes typos and corrects spelling in the comments.
>
> Signed-off-by: Atul Kumar Pant <atulpant.linux@gmail.com>
> ---
> drivers/cpuidle/governors/teo.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/cpuidle/governors/teo.c b/drivers/cpuidle/governors/teo.c
> index 8fe5e1b47..bfa55c1ea 100644
> --- a/drivers/cpuidle/governors/teo.c
> +++ b/drivers/cpuidle/governors/teo.c
> @@ -19,7 +19,7 @@
> *
> * Of course, non-timer wakeup sources are more important in some use cases,
> * but even then it is generally unnecessary to consider idle duration values
> - * greater than the time time till the next timer event, referred as the sleep
> + * greater than the time till the next timer event, referred as the sleep
> * length in what follows, because the closest timer will ultimately wake up the
> * CPU anyway unless it is woken up earlier.
> *
> @@ -311,7 +311,7 @@ static int teo_select(struct cpuidle_driver *drv, struct cpuidle_device *dev,
> struct cpuidle_state *s = &drv->states[i];
>
> /*
> - * Update the sums of idle state mertics for all of the states
> + * Update the sums of idle state metrics for all of the states
> * shallower than the current one.
> */
> intercept_sum += prev_bin->intercepts;
> --
Applied as 6.16 material with some edits in the subject and changelog, thanks!
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-04-09 17:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-05 6:09 [PATCH] cpuidle: governors: Fixes typos in comments Atul Kumar Pant
2025-04-09 17:35 ` 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).