From 2573d3789d683b1cc58a6c83ef45cfafd2a32657 Mon Sep 17 00:00:00 2001 From: Eduardo Valentin Date: Wed, 17 Apr 2013 17:12:13 +0000 Subject: [PATCH] --- yaml --- r: 374587 b: refs/heads/master c: 3672552dc0c5f6ffacb611a7ddb4ddbd8b3adb68 h: refs/heads/master i: 374585: e223e0f4b4e2a89296e05493bab734a7d6d94367 374583: c6f0a9e62d5b5427acde5bc0577d68f0007cfe44 v: v3 --- [refs] | 2 +- trunk/drivers/thermal/cpu_cooling.c | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index a8b13609373d..2ab45b4ab01d 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 62c00421b31424489435619545a53802eab07f3e +refs/heads/master: 3672552dc0c5f6ffacb611a7ddb4ddbd8b3adb68 diff --git a/trunk/drivers/thermal/cpu_cooling.c b/trunk/drivers/thermal/cpu_cooling.c index 329653caba21..4318a7d84df4 100644 --- a/trunk/drivers/thermal/cpu_cooling.c +++ b/trunk/drivers/thermal/cpu_cooling.c @@ -365,6 +365,11 @@ static int cpufreq_get_max_state(struct thermal_cooling_device *cdev, * cpufreq_get_cur_state - callback function to get the current cooling state. * @cdev: thermal cooling device pointer. * @state: fill this variable with the current cooling state. + * + * Callback for the thermal cooling device to return the cpufreq + * current cooling state. + * + * Return: 0 on success, an error code otherwise. */ static int cpufreq_get_cur_state(struct thermal_cooling_device *cdev, unsigned long *state)