Skip to content

Commit 194c396

Browse files
Atul Kumar Pantrafaeljw
authored andcommitted
cpuidle: teo: Fix typos in two comments
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>
1 parent 0af2f6b commit 194c396

File tree

1 file changed

+2
-2
lines changed
  • drivers/cpuidle/governors

1 file changed

+2
-2
lines changed

drivers/cpuidle/governors/teo.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
*
2020
* Of course, non-timer wakeup sources are more important in some use cases,
2121
* but even then it is generally unnecessary to consider idle duration values
22-
* greater than the time time till the next timer event, referred as the sleep
22+
* greater than the time till the next timer event, referred as the sleep
2323
* length in what follows, because the closest timer will ultimately wake up the
2424
* CPU anyway unless it is woken up earlier.
2525
*
@@ -311,7 +311,7 @@ static int teo_select(struct cpuidle_driver *drv, struct cpuidle_device *dev,
311311
struct cpuidle_state *s = &drv->states[i];
312312

313313
/*
314-
* Update the sums of idle state mertics for all of the states
314+
* Update the sums of idle state metrics for all of the states
315315
* shallower than the current one.
316316
*/
317317
intercept_sum += prev_bin->intercepts;

0 commit comments

Comments
 (0)