diff options
author | Eduardo Valentin <eduardo.valentin@ti.com> | 2013-04-17 13:12:15 -0400 |
---|---|---|
committer | Zhang Rui <rui.zhang@intel.com> | 2013-04-24 12:34:42 -0400 |
commit | 12cb08ba50b73be97e555bcdf84e8f21a196794b (patch) | |
tree | 3ddaa2452662e18c6cde7bdd5fe2b348492f7a31 | |
parent | 56e05fdb6d1fe02b7d28391332cf65a77bffd691 (diff) |
thermal: cpu_cooling: update kernel-doc for cpufreq_cooling_register
Add proper documentation for exported function cpufreq_cooling_register.
Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com>
Acked-by: Amit Daniel Kachhap <amit.daniel@samsung.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
-rw-r--r-- | drivers/thermal/cpu_cooling.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/thermal/cpu_cooling.c b/drivers/thermal/cpu_cooling.c index aa9c38b1c3ac..9a1d82ef491e 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 = { | |||
413 | /** | 413 | /** |
414 | * cpufreq_cooling_register - function to create cpufreq cooling device. | 414 | * cpufreq_cooling_register - function to create cpufreq cooling device. |
415 | * @clip_cpus: cpumask of cpus where the frequency constraints will happen. | 415 | * @clip_cpus: cpumask of cpus where the frequency constraints will happen. |
416 | * | ||
417 | * This interface function registers the cpufreq cooling device with the name | ||
418 | * "thermal-cpufreq-%x". This api can support multiple instances of cpufreq | ||
419 | * cooling devices. | ||
420 | * | ||
421 | * Return: a valid struct thermal_cooling_device pointer on success, | ||
422 | * on failure, it returns a corresponding ERR_PTR(). | ||
416 | */ | 423 | */ |
417 | struct thermal_cooling_device *cpufreq_cooling_register( | 424 | struct thermal_cooling_device *cpufreq_cooling_register( |
418 | const struct cpumask *clip_cpus) | 425 | const struct cpumask *clip_cpus) |