cpuidle: teo: Fix typos in two comments
authorAtul Kumar Pant <atulpant.linux@gmail.com>
Sat, 5 Apr 2025 06:09:09 +0000 (11:39 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 9 Apr 2025 17:34:23 +0000 (19:34 +0200)
Fix a typo and correct a spelling mistake in comments.

Signed-off-by: Atul Kumar Pant <atulpant.linux@gmail.com>
Link: https://patch.msgid.link/20250405060909.2026332-1-atulpant.linux@gmail.com
[ rjw: Subject and changelog edits ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpuidle/governors/teo.c

index 8fe5e1b47ef9082d69584edea1b479023c822009..bfa55c1eab5bcd90dfe2e1064ef6279809cea298 100644 (file)
@@ -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;