Skip to contentSkip to conversation

powercap: fix typo in a comment

PATCH In review Jason Wang 2 participants 2 messages Dec 12, 2021 – Dec 17, 2021 Power management core

lore
Share & tools
lore

Jason Wang

author
#0 lore raw

PATCH 1/1 powercap: fix typo in a comment

The double `the' in the comment in line 15 is repeated. Remove one of them from the comment.

---
 drivers/powercap/idle_inject.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/powercap/idle_inject.c +1 -1
index 6e1a0043c411..a20bf12f3ce3 100644
@@ -12,7 +12,7 @@
  *
  * All of the kthreads used for idle injection are created at init time.
  *
- * Next, the users of the the idle injection framework provide a cpumask via
+ * Next, the users of the idle injection framework provide a cpumask via
  * its register function. The kthreads will be synchronized with respect to
  * this cpumask.
  *
Signature · 1 line
2.34.1
#1 lore raw
Quoted 14 lines · Jason Wang

The double `the' in the comment in line 15 is repeated. Remove one of them from the comment.

---
 drivers/powercap/idle_inject.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/powercap/idle_inject.c +0 -0
index 6e1a0043c411..a20bf12f3ce3 100644

drivers/powercap/idle_inject.c

Quoted 9 lines
drivers/powercap/idle_inject.c +1 -2
@@ -12,7 +12,7 @@
  *
  * All of the kthreads used for idle injection are created at init time.
  *
- * Next, the users of the the idle injection framework provide a cpumask via
+ * Next, the users of the idle injection framework provide a cpumask via
  * its register function. The kthreads will be synchronized with respect to
  * this cpumask.
  *
--

Applied (with edited subject and a new changelog) as 5.17 material.

If you submit similar changes in the future, please use more precise subjects, to allow the given change to be distinguished from other changes in the same category more easily.

Thanks!