2021-12-12 03:07:15

by Jason Wang

[permalink] [raw]
Subject: [PATCH] powercap: fix typo in a comment

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

Signed-off-by: Jason Wang <[email protected]>
---
drivers/powercap/idle_inject.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/powercap/idle_inject.c b/drivers/powercap/idle_inject.c
index 6e1a0043c411..a20bf12f3ce3 100644
--- a/drivers/powercap/idle_inject.c
+++ b/drivers/powercap/idle_inject.c
@@ -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.
*
--
2.34.1



2021-12-17 15:33:34

by Rafael J. Wysocki

[permalink] [raw]
Subject: Re: [PATCH] powercap: fix typo in a comment

On Sun, Dec 12, 2021 at 4:07 AM Jason Wang <[email protected]> wrote:
>
> The double `the' in the comment in line 15 is repeated. Remove one
> of them from the comment.
>
> Signed-off-by: Jason Wang <[email protected]>
> ---
> drivers/powercap/idle_inject.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/powercap/idle_inject.c b/drivers/powercap/idle_inject.c
> index 6e1a0043c411..a20bf12f3ce3 100644
> --- a/drivers/powercap/idle_inject.c
> +++ b/drivers/powercap/idle_inject.c
> @@ -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!