diff mbox series

cpuidle: governors: Fixes a typo in a comment

Message ID 20240616124025.16477-1-atulpant.linux@gmail.com
State New
Headers show
Series cpuidle: governors: Fixes a typo in a comment | expand

Commit Message

Atul Kumar Pant June 16, 2024, 12:40 p.m. UTC
Signed-off-by: Atul Kumar Pant <atulpant.linux@gmail.com>
---
 drivers/cpuidle/governors/teo.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Rafael J. Wysocki June 21, 2024, 12:58 p.m. UTC | #1
On Sun, Jun 16, 2024 at 2:40 PM Atul Kumar Pant
<atulpant.linux@gmail.com> wrote:
>
> Signed-off-by: Atul Kumar Pant <atulpant.linux@gmail.com>
> ---
>  drivers/cpuidle/governors/teo.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/cpuidle/governors/teo.c b/drivers/cpuidle/governors/teo.c
> index 7244f71c5..95831d2a5 100644
> --- a/drivers/cpuidle/governors/teo.c
> +++ b/drivers/cpuidle/governors/teo.c
> @@ -592,7 +592,7 @@ static int teo_select(struct cpuidle_driver *drv, struct cpuidle_device *dev,
>         cpu_data->sleep_length_ns = duration_ns;
>
>         /*
> -        * If the closest expected timer is before the terget residency of the
> +        * If the closest expected timer is before the target residency of the
>          * candidate state, a shallower one needs to be found.
>          */
>         if (drv->states[idx].target_residency_ns > duration_ns) {
> --

Applied as 6.11 material (with a changelog), thanks!
diff mbox series

Patch

diff --git a/drivers/cpuidle/governors/teo.c b/drivers/cpuidle/governors/teo.c
index 7244f71c5..95831d2a5 100644
--- a/drivers/cpuidle/governors/teo.c
+++ b/drivers/cpuidle/governors/teo.c
@@ -592,7 +592,7 @@  static int teo_select(struct cpuidle_driver *drv, struct cpuidle_device *dev,
 	cpu_data->sleep_length_ns = duration_ns;
 
 	/*
-	 * If the closest expected timer is before the terget residency of the
+	 * If the closest expected timer is before the target residency of the
 	 * candidate state, a shallower one needs to be found.
 	 */
 	if (drv->states[idx].target_residency_ns > duration_ns) {