diff options
author | Eduardo Valentin <eduardo.valentin@ti.com> | 2013-04-17 13:12:08 -0400 |
---|---|---|
committer | Zhang Rui <rui.zhang@intel.com> | 2013-04-24 12:34:39 -0400 |
commit | 4b33deb5470cda8268d684da6d448c081b6bf641 (patch) | |
tree | b56a3a606d26b6e22a556bcfca073b4a916cdf5e /drivers/thermal | |
parent | 41518c41dd6f36a0a951d1850e286a44773f75ca (diff) |
thermal: cpu_cooling: update documentation for cpufreq_apply_cooling
Update kernel-doc comments for cpufreq_apply_cooling function.
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>
Diffstat (limited to 'drivers/thermal')
-rw-r--r-- | drivers/thermal/cpu_cooling.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/thermal/cpu_cooling.c b/drivers/thermal/cpu_cooling.c index 73944a34fdb9..1ec1591e3fd3 100644 --- a/drivers/thermal/cpu_cooling.c +++ b/drivers/thermal/cpu_cooling.c | |||
@@ -257,6 +257,12 @@ static unsigned int get_cpu_frequency(unsigned int cpu, unsigned long level) | |||
257 | * @cpufreq_device: cpufreq_cooling_device pointer containing frequency | 257 | * @cpufreq_device: cpufreq_cooling_device pointer containing frequency |
258 | * clipping data. | 258 | * clipping data. |
259 | * @cooling_state: value of the cooling state. | 259 | * @cooling_state: value of the cooling state. |
260 | * | ||
261 | * Function used to make sure the cpufreq layer is aware of current thermal | ||
262 | * limits. The limits are applied by updating the cpufreq policy. | ||
263 | * | ||
264 | * Return: 0 on success, an error code otherwise (-EINVAL in case wrong | ||
265 | * cooling state). | ||
260 | */ | 266 | */ |
261 | static int cpufreq_apply_cooling(struct cpufreq_cooling_device *cpufreq_device, | 267 | static int cpufreq_apply_cooling(struct cpufreq_cooling_device *cpufreq_device, |
262 | unsigned long cooling_state) | 268 | unsigned long cooling_state) |