From: Eduardo Valentin Date: Wed, 17 Apr 2013 17:12:09 +0000 (+0000) Subject: thermal: cpu_cooling: update documentation for cpufreq_thermal_notifier X-Git-Tag: firefly_0821_release~3680^2~524^2~5^2~11 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=bab3055472b44f0897fff88f9c8d3fc55e5d7685;p=firefly-linux-kernel-4.4.55.git thermal: cpu_cooling: update documentation for cpufreq_thermal_notifier Update kernel-doc comment and documentation for cpufreq_thermal_notifier. Signed-off-by: Eduardo Valentin Acked-by: Amit Daniel Kachhap Signed-off-by: Zhang Rui --- diff --git a/drivers/thermal/cpu_cooling.c b/drivers/thermal/cpu_cooling.c index 1ec1591e3fd3..eb62ffaad6a2 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)