diff mbox series

[-next] cpufreq: longhaul: Fix kernel-doc param for longhaul_setstate

Message ID 20240524092037.71666-1-yang.lee@linux.alibaba.com
State Accepted
Commit 10e0a8f83294ab997c4af0af4b80908cd52ca4b5
Headers show
Series [-next] cpufreq: longhaul: Fix kernel-doc param for longhaul_setstate | expand

Commit Message

Yang Li May 24, 2024, 9:20 a.m. UTC
The patch updates the function documentation comment for
longhaul_setstate to adhere to the kernel-doc specification.

Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
 drivers/cpufreq/longhaul.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Comments

Viresh Kumar May 28, 2024, 6:53 a.m. UTC | #1
On 24-05-24, 17:20, Yang Li wrote:
> The patch updates the function documentation comment for
> longhaul_setstate to adhere to the kernel-doc specification.
> 
> Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
> ---
>  drivers/cpufreq/longhaul.c | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/cpufreq/longhaul.c b/drivers/cpufreq/longhaul.c
> index 4c57c6725c13..bd6fe8638d39 100644
> --- a/drivers/cpufreq/longhaul.c
> +++ b/drivers/cpufreq/longhaul.c
> @@ -236,8 +236,9 @@ static void do_powersaver(int cx_address, unsigned int mults_index,
>  }
>  
>  /**
> - * longhaul_set_cpu_frequency()
> - * @mults_index : bitpattern of the new multiplier.
> + * longhaul_setstate()
> + * @policy: cpufreq_policy structure containing the current policy.
> + * @table_index: index of the frequency within the cpufreq_frequency_table.
>   *
>   * Sets a new clock ratio.
>   */

Applied. Thanks.
diff mbox series

Patch

diff --git a/drivers/cpufreq/longhaul.c b/drivers/cpufreq/longhaul.c
index 4c57c6725c13..bd6fe8638d39 100644
--- a/drivers/cpufreq/longhaul.c
+++ b/drivers/cpufreq/longhaul.c
@@ -236,8 +236,9 @@  static void do_powersaver(int cx_address, unsigned int mults_index,
 }
 
 /**
- * longhaul_set_cpu_frequency()
- * @mults_index : bitpattern of the new multiplier.
+ * longhaul_setstate()
+ * @policy: cpufreq_policy structure containing the current policy.
+ * @table_index: index of the frequency within the cpufreq_frequency_table.
  *
  * Sets a new clock ratio.
  */