[PATCH] cpuidle: governors: Fixes a typo in a comment

Atul Kumar Pant posted 1 patch 1 year, 6 months ago
drivers/cpuidle/governors/teo.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] cpuidle: governors: Fixes a typo in a comment
Posted by Atul Kumar Pant 1 year, 6 months ago
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) {
-- 
2.25.1
Re: [PATCH] cpuidle: governors: Fixes a typo in a comment
Posted by Rafael J. Wysocki 1 year, 5 months ago
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!