Re: [PATCH 04/13] cpufreq: sti-cpufreq: Fix some formatting and misspelling issues

Viresh Kumar
2020-07-15T02:58:17Z

On 14-07-20, 15:50, Lee Jones wrote:
> Kerneldoc format for attribute descriptions should be '@.*: '.
>
> Fixes the following W=1 kernel build warning(s):
>
> drivers/cpufreq/sti-cpufreq.c:49: warning: cannot understand function prototype: 'struct sti_cpufreq_ddata '
>
> Cc: Patrice Chotard <patrice.chotard@st.com>
> Cc: Pal Singh <ajitpal.singh@st.com>
> Signed-off-by: Lee Jones <lee.jones@linaro.org>
> ---
> drivers/cpufreq/sti-cpufreq.c | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/drivers/cpufreq/sti-cpufreq.c b/drivers/cpufreq/sti-cpufreq.c
> index 8f16bbb164b84..a5ad96d29adca 100644
> --- a/drivers/cpufreq/sti-cpufreq.c
> +++ b/drivers/cpufreq/sti-cpufreq.c
> @@ -40,11 +40,11 @@ enum {
> };
>
> /**
> - * ST CPUFreq Driver Data
> + * struct sti_cpufreq_ddata - ST CPUFreq Driver Data
> *
> - * @cpu_node CPU's OF node
> - * @syscfg_eng Engineering Syscon register map
> - * @regmap Syscon register map
> + * @cpu: CPU's OF node
> + * @syscfg_eng: Engineering Syscon register map
> + * @syscfg: Syscon register map
> */
> static struct sti_cpufreq_ddata {
> struct device *cpu;

Applied. Thanks.

--
viresh