diff options
author | Eduardo Valentin <eduardo.valentin@ti.com> | 2013-04-17 17:12:09 (GMT) |
---|---|---|
committer | Zhang Rui <rui.zhang@intel.com> | 2013-04-24 16:34:40 (GMT) |
commit | bab3055472b44f0897fff88f9c8d3fc55e5d7685 (patch) | |
tree | 81f1cbd725913e974e9ce66b615d82fdfacffde8 /drivers/thermal | |
parent | 4b33deb5470cda8268d684da6d448c081b6bf641 (diff) | |
download | linux-bab3055472b44f0897fff88f9c8d3fc55e5d7685.tar.xz |
thermal: cpu_cooling: update documentation for cpufreq_thermal_notifier
Update kernel-doc comment and documentation for cpufreq_thermal_notifier.
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 1ec1591..eb62ffa 100644 --- a/drivers/thermal/cpu_cooling.c +++ b/drivers/thermal/cpu_cooling.c @@ -299,6 +299,12 @@ static int cpufreq_apply_cooling(struct cpufreq_cooling_device *cpufreq_device, * @nb: struct notifier_block * with callback info. * @event: value showing cpufreq event for which this function invoked. * @data: callback-specific data + * + * Callback to highjack the notification on cpufreq policy transition. + * Every time there is a change in policy, we will intercept and + * update the cpufreq policy with thermal constraints. + * + * Return: 0 (success) */ static int cpufreq_thermal_notifier(struct notifier_block *nb, unsigned long event, void *data) |