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

Yang Li posted 1 patch 1 year, 8 months ago
drivers/cpufreq/longhaul.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
[PATCH -next] cpufreq: longhaul: Fix kernel-doc param for longhaul_setstate
Posted by Yang Li 1 year, 8 months ago
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.
  */
-- 
2.20.1.7.g153144c
Re: [PATCH -next] cpufreq: longhaul: Fix kernel-doc param for longhaul_setstate
Posted by Viresh Kumar 1 year, 8 months ago
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.

-- 
viresh