[PATCH] cpufreq: Fix typo in the comment of CPUFREQ_NEED_UPDATE_LIMITS

Liao Chang posted 1 patch 2 years, 3 months ago
include/linux/cpufreq.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] cpufreq: Fix typo in the comment of CPUFREQ_NEED_UPDATE_LIMITS
Posted by Liao Chang 2 years, 3 months ago
Replace 'diver' with 'driver'.

Signed-off-by: Liao Chang <liaochang1@huawei.com>
---
 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 43b363a99215..43c771e502d4 100644
--- a/include/linux/cpufreq.h
+++ b/include/linux/cpufreq.h
@@ -407,7 +407,7 @@ struct cpufreq_driver {
 /*
  * Set by drivers that need to update internal upper and lower boundaries along
  * with the target frequency and so the core and governors should also invoke
- * the diver if the target frequency does not change, but the policy min or max
+ * the driver if the target frequency does not change, but the policy min or max
  * may have changed.
  */
 #define CPUFREQ_NEED_UPDATE_LIMITS		BIT(0)
-- 
2.34.1
Re: [PATCH] cpufreq: Fix typo in the comment of CPUFREQ_NEED_UPDATE_LIMITS
Posted by Viresh Kumar 2 years, 3 months ago
On 26-08-23, 09:54, Liao Chang wrote:
> Replace 'diver' with 'driver'.
> 
> Signed-off-by: Liao Chang <liaochang1@huawei.com>
> ---
>  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 43b363a99215..43c771e502d4 100644
> --- a/include/linux/cpufreq.h
> +++ b/include/linux/cpufreq.h
> @@ -407,7 +407,7 @@ struct cpufreq_driver {
>  /*
>   * Set by drivers that need to update internal upper and lower boundaries along
>   * with the target frequency and so the core and governors should also invoke
> - * the diver if the target frequency does not change, but the policy min or max
> + * the driver if the target frequency does not change, but the policy min or max
>   * may have changed.
>   */
>  #define CPUFREQ_NEED_UPDATE_LIMITS		BIT(0)

Applied. Thanks.

-- 
viresh
[PATCH] cpufreq: Fix typo in the comment of cpufreq_register_notifier()
Posted by Liao Chang 2 years, 3 months ago
Replace 'ron' with 'run'.

Signed-off-by: Liao Chang <liaochang1@huawei.com>
---
 drivers/cpufreq/cpufreq.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/cpufreq/cpufreq.c b/drivers/cpufreq/cpufreq.c
index f8eb6dde57f2..c835ff117386 100644
--- a/drivers/cpufreq/cpufreq.c
+++ b/drivers/cpufreq/cpufreq.c
@@ -2010,7 +2010,7 @@ EXPORT_SYMBOL_GPL(cpufreq_get_driver_data);
  *
  * Add a notifier to one of two lists: either a list of notifiers that run on
  * clock rate changes (once before and once after every transition), or a list
- * of notifiers that ron on cpufreq policy changes.
+ * of notifiers that run on cpufreq policy changes.
  *
  * This function may sleep and it has the same return values as
  * blocking_notifier_chain_register().
-- 
2.34.1
Re: [PATCH] cpufreq: Fix typo in the comment of cpufreq_register_notifier()
Posted by Viresh Kumar 2 years, 3 months ago
On 26-08-23, 09:54, Liao Chang wrote:
> Replace 'ron' with 'run'.
> 
> Signed-off-by: Liao Chang <liaochang1@huawei.com>
> ---
>  drivers/cpufreq/cpufreq.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/cpufreq/cpufreq.c b/drivers/cpufreq/cpufreq.c
> index f8eb6dde57f2..c835ff117386 100644
> --- a/drivers/cpufreq/cpufreq.c
> +++ b/drivers/cpufreq/cpufreq.c
> @@ -2010,7 +2010,7 @@ EXPORT_SYMBOL_GPL(cpufreq_get_driver_data);
>   *
>   * Add a notifier to one of two lists: either a list of notifiers that run on
>   * clock rate changes (once before and once after every transition), or a list
> - * of notifiers that ron on cpufreq policy changes.
> + * of notifiers that run on cpufreq policy changes.
>   *
>   * This function may sleep and it has the same return values as
>   * blocking_notifier_chain_register().

Applied. Thanks.

-- 
viresh