drivers/cpufreq/longhaul.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
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
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
© 2016 - 2026 Red Hat, Inc.