diff mbox series

[trivial] cpufreq: Fix scaling_{available,boost}_frequencies_show() comments

Message ID 20210326120721.1577965-1-geert+renesas@glider.be (mailing list archive)
State Mainlined, archived
Headers show
Series [trivial] cpufreq: Fix scaling_{available,boost}_frequencies_show() comments | expand

Commit Message

Geert Uytterhoeven March 26, 2021, 12:07 p.m. UTC
The function names in the comment blocks for the functions
scaling_available_frequencies_show() and
scaling_boost_frequencies_show() do not match the actual names.

Fixes: 6f19efc0a1ca08bc ("cpufreq: Add boost frequency support in core")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 drivers/cpufreq/freq_table.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Rafael J. Wysocki March 26, 2021, 4:45 p.m. UTC | #1
On Fri, Mar 26, 2021 at 1:08 PM Geert Uytterhoeven
<geert+renesas@glider.be> wrote:
>
> The function names in the comment blocks for the functions
> scaling_available_frequencies_show() and
> scaling_boost_frequencies_show() do not match the actual names.
>
> Fixes: 6f19efc0a1ca08bc ("cpufreq: Add boost frequency support in core")
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> ---
>  drivers/cpufreq/freq_table.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/cpufreq/freq_table.c b/drivers/cpufreq/freq_table.c
> index d3f756f7b5a0594c..67e56cf638efb86a 100644
> --- a/drivers/cpufreq/freq_table.c
> +++ b/drivers/cpufreq/freq_table.c
> @@ -267,7 +267,7 @@ struct freq_attr cpufreq_freq_attr_##_name##_freqs =     \
>  __ATTR_RO(_name##_frequencies)
>
>  /*
> - * show_scaling_available_frequencies - show available normal frequencies for
> + * scaling_available_frequencies_show - show available normal frequencies for
>   * the specified CPU
>   */
>  static ssize_t scaling_available_frequencies_show(struct cpufreq_policy *policy,
> @@ -279,7 +279,7 @@ cpufreq_attr_available_freq(scaling_available);
>  EXPORT_SYMBOL_GPL(cpufreq_freq_attr_scaling_available_freqs);
>
>  /*
> - * show_available_boost_freqs - show available boost frequencies for
> + * scaling_boost_frequencies_show - show available boost frequencies for
>   * the specified CPU
>   */
>  static ssize_t scaling_boost_frequencies_show(struct cpufreq_policy *policy,
> --

Applied as 5.12-rc material, thanks!
diff mbox series

Patch

diff --git a/drivers/cpufreq/freq_table.c b/drivers/cpufreq/freq_table.c
index d3f756f7b5a0594c..67e56cf638efb86a 100644
--- a/drivers/cpufreq/freq_table.c
+++ b/drivers/cpufreq/freq_table.c
@@ -267,7 +267,7 @@  struct freq_attr cpufreq_freq_attr_##_name##_freqs =     \
 __ATTR_RO(_name##_frequencies)
 
 /*
- * show_scaling_available_frequencies - show available normal frequencies for
+ * scaling_available_frequencies_show - show available normal frequencies for
  * the specified CPU
  */
 static ssize_t scaling_available_frequencies_show(struct cpufreq_policy *policy,
@@ -279,7 +279,7 @@  cpufreq_attr_available_freq(scaling_available);
 EXPORT_SYMBOL_GPL(cpufreq_freq_attr_scaling_available_freqs);
 
 /*
- * show_available_boost_freqs - show available boost frequencies for
+ * scaling_boost_frequencies_show - show available boost frequencies for
  * the specified CPU
  */
 static ssize_t scaling_boost_frequencies_show(struct cpufreq_policy *policy,