[PATCH 02/13] cpufreq: cpufreq: Demote lots of function headers unworthy of kerneldoc status

Viresh Kumar viresh.kumar at linaro.org
Tue Jul 14 22:49:51 EDT 2020


On 14-07-20, 15:50, Lee Jones wrote:
> -/**
> +/*
>   * cpufreq_remove_dev - remove a CPU device

Because cpufreq_add_dev() is part of kernel doc, we better keep it.

>   *
>   * Removes the cpufreq interface for a CPU device.
> @@ -2373,6 +2374,7 @@ EXPORT_SYMBOL_GPL(cpufreq_unregister_governor);
>   * cpufreq_get_policy - get the current cpufreq_policy
>   * @policy: struct cpufreq_policy into which the current cpufreq_policy
>   *	is written
> + * @cpu: CPU to find the policy for
>   *
>   * Reads the current cpufreq policy.
>   */
> @@ -2759,7 +2761,7 @@ int cpufreq_register_driver(struct cpufreq_driver *driver_data)
>  }
>  EXPORT_SYMBOL_GPL(cpufreq_register_driver);
>  
> -/**
> +/*
>   * cpufreq_unregister_driver - unregister the current CPUFreq driver

And this should be there for sure.

>   *
>   * Unregister the current CPUFreq driver. Only call this if you have
> -- 
> 2.25.1

-- 
viresh



More information about the linux-arm-kernel mailing list