aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/thermal
diff options
context:
space:
mode:
authorEduardo Valentin <eduardo.valentin@ti.com>2013-04-17 13:12:12 -0400
committerZhang Rui <rui.zhang@intel.com>2013-04-24 12:34:41 -0400
commit62c00421b31424489435619545a53802eab07f3e (patch)
treed6f8b43981b2cafb3d74a67b4db531a4198087a1 /drivers/thermal
parentf7188b3ddecdfe106b9b75292d95166cf074deed (diff)
thermal: cpu_cooling: update documentation for cpufreq_get_max_state
Update documentation for cpufreq_get_max_state callback. 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.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/thermal/cpu_cooling.c b/drivers/thermal/cpu_cooling.c
index eb62ffaad6a2..329653caba21 100644
--- a/drivers/thermal/cpu_cooling.c
+++ b/drivers/thermal/cpu_cooling.c
@@ -336,6 +336,11 @@ static int cpufreq_thermal_notifier(struct notifier_block *nb,
336 * cpufreq_get_max_state - callback function to get the max cooling state. 336 * cpufreq_get_max_state - callback function to get the max cooling state.
337 * @cdev: thermal cooling device pointer. 337 * @cdev: thermal cooling device pointer.
338 * @state: fill this variable with the max cooling state. 338 * @state: fill this variable with the max cooling state.
339 *
340 * Callback for the thermal cooling device to return the cpufreq
341 * max cooling state.
342 *
343 * Return: 0 on success, an error code otherwise.
339 */ 344 */
340static int cpufreq_get_max_state(struct thermal_cooling_device *cdev, 345static int cpufreq_get_max_state(struct thermal_cooling_device *cdev,
341 unsigned long *state) 346 unsigned long *state)