diff options
Diffstat (limited to 'drivers/thermal')
-rw-r--r-- | drivers/thermal/cpu_cooling.c | 5 |
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 | */ |
340 | static int cpufreq_get_max_state(struct thermal_cooling_device *cdev, | 345 | static int cpufreq_get_max_state(struct thermal_cooling_device *cdev, |
341 | unsigned long *state) | 346 | unsigned long *state) |