2020-05-13 20:48:21

by 王文虎

[permalink] [raw]
Subject: [PATCH] cpufreq: fix a minor typo for cpufreq_driver doc

Delete the duplicate "to" possibly double-typed.

Signed-off-by: Wang Wenhu <[email protected]>
Cc: Viresh Kumar <[email protected]>
---
include/linux/cpufreq.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/cpufreq.h b/include/linux/cpufreq.h
index f7240251a949..67d5950bd878 100644
--- a/include/linux/cpufreq.h
+++ b/include/linux/cpufreq.h
@@ -330,7 +330,7 @@ struct cpufreq_driver {
*
* get_intermediate should return a stable intermediate frequency
* platform wants to switch to and target_intermediate() should set CPU
- * to to that frequency, before jumping to the frequency corresponding
+ * to that frequency, before jumping to the frequency corresponding
* to 'index'. Core will take care of sending notifications and driver
* doesn't have to handle them in target_intermediate() or
* target_index().
--
2.17.1


2020-05-14 11:45:36

by Rafael J. Wysocki

[permalink] [raw]
Subject: Re: [PATCH] cpufreq: fix a minor typo for cpufreq_driver doc

On Wed, May 13, 2020 at 4:26 PM Wang Wenhu <[email protected]> wrote:
>
> Delete the duplicate "to" possibly double-typed.
>
> Signed-off-by: Wang Wenhu <[email protected]>
> Cc: Viresh Kumar <[email protected]>
> ---
> include/linux/cpufreq.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/linux/cpufreq.h b/include/linux/cpufreq.h
> index f7240251a949..67d5950bd878 100644
> --- a/include/linux/cpufreq.h
> +++ b/include/linux/cpufreq.h
> @@ -330,7 +330,7 @@ struct cpufreq_driver {
> *
> * get_intermediate should return a stable intermediate frequency
> * platform wants to switch to and target_intermediate() should set CPU
> - * to to that frequency, before jumping to the frequency corresponding
> + * to that frequency, before jumping to the frequency corresponding
> * to 'index'. Core will take care of sending notifications and driver
> * doesn't have to handle them in target_intermediate() or
> * target_index().
> --

Applied as 5.8 material with some minor subject changes, thanks!