Skip to contentSkip to conversation

cpuidle: governors: Fixes typos in comments

PATCH Applied Atul Kumar Pant 2 participants 2 messages Apr 5, 2025 – Apr 9, 2025 CPU idle time management framework

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cpuidle: governors: Fixes typos in comments

Fixes typos and corrects spelling in the comments.

---
 drivers/cpuidle/governors/teo.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/cpuidle/governors/teo.c +2 -2
index 8fe5e1b47..bfa55c1ea 100644
@@ -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;
Signature · 1 line
2.34.1
maintainer Applied
#1 lore raw
Quoted 22 lines · Atul Kumar Pant

Fixes typos and corrects spelling in the comments.

---
 drivers/cpuidle/governors/teo.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/cpuidle/governors/teo.c +1 -1
index 8fe5e1b47..bfa55c1ea 100644
@@ -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.
  *

drivers/cpuidle/governors/teo.c static int teo_select(struct cpuidle_driver *drv, struct cpuidle_device *dev,

Quoted 9 lines
drivers/cpuidle/governors/teo.c +1 -2
@@ -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!