Message ID | 20240524092037.71666-1-yang.lee@linux.alibaba.com (mailing list archive) |
---|---|
State | New |
Delegated to: | viresh kumar |
Headers | show |
Series | [-next] cpufreq: longhaul: Fix kernel-doc param for longhaul_setstate | expand |
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 --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. */
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(-)