Skip to contentSkip to conversation

cpufreq: longhaul: Fix kernel-doc param for longhaul_setstate

PATCH Applied Yang Li 2 participants 2 messages May 24, 2024 – May 28, 2024 CPU frequency scaling framework

lore
Share & tools
lore

Yang Li

author
#0 lore raw

PATCH 1/1 cpufreq: longhaul: Fix kernel-doc param for longhaul_setstate

The patch updates the function documentation comment for longhaul_setstate to adhere to the kernel-doc specification.

---
 drivers/cpufreq/longhaul.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
drivers/cpufreq/longhaul.c +3 -2
index 4c57c6725c13..bd6fe8638d39 100644
@@ -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.
  */
Signature · 1 line
2.20.1.7.g153144c
maintainer Applied
#1 lore raw
Quoted 14 lines · Yang Li

The patch updates the function documentation comment for longhaul_setstate to adhere to the kernel-doc specification.

---
 drivers/cpufreq/longhaul.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
drivers/cpufreq/longhaul.c +0 -0
index 4c57c6725c13..bd6fe8638d39 100644
@@ -236,8 +236,9 @@ static void do_powersaver(int cx_address, unsigned int mults_index,
 }

drivers/cpufreq/longhaul.c static void do_powersaver(int cx_address, unsigned int mults_index, · line 244

Quoted 10 lines
drivers/cpufreq/longhaul.c +3 -2
 
 /**
- * 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.

Signature · 1 line
viresh