From: Eduardo Valentin Date: Wed, 17 Apr 2013 17:12:15 +0000 (+0000) Subject: thermal: cpu_cooling: update kernel-doc for cpufreq_cooling_register X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=12cb08ba50b73be97e555bcdf84e8f21a196794b;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git thermal: cpu_cooling: update kernel-doc for cpufreq_cooling_register Add proper documentation for exported function cpufreq_cooling_register. Signed-off-by: Eduardo Valentin Acked-by: Amit Daniel Kachhap Signed-off-by: Zhang Rui --- diff --git a/drivers/thermal/cpu_cooling.c b/drivers/thermal/cpu_cooling.c index aa9c38b1c3a..9a1d82ef491 100644 --- a/drivers/thermal/cpu_cooling.c +++ b/drivers/thermal/cpu_cooling.c @@ -413,6 +413,13 @@ static struct notifier_block thermal_cpufreq_notifier_block = { /** * cpufreq_cooling_register - function to create cpufreq cooling device. * @clip_cpus: cpumask of cpus where the frequency constraints will happen. + * + * This interface function registers the cpufreq cooling device with the name + * "thermal-cpufreq-%x". This api can support multiple instances of cpufreq + * cooling devices. + * + * Return: a valid struct thermal_cooling_device pointer on success, + * on failure, it returns a corresponding ERR_PTR(). */ struct thermal_cooling_device *cpufreq_cooling_register( const struct cpumask *clip_cpus)