mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-16 07:35:14 +00:00
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>
This commit is contained in:
parent
4b33deb547
commit
bab3055472
1 changed files with 6 additions and 0 deletions
|
@ -299,6 +299,12 @@ static int cpufreq_apply_cooling(struct cpufreq_cooling_device *cpufreq_device,
|
||||||
* @nb: struct notifier_block * with callback info.
|
* @nb: struct notifier_block * with callback info.
|
||||||
* @event: value showing cpufreq event for which this function invoked.
|
* @event: value showing cpufreq event for which this function invoked.
|
||||||
* @data: callback-specific data
|
* @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,
|
static int cpufreq_thermal_notifier(struct notifier_block *nb,
|
||||||
unsigned long event, void *data)
|
unsigned long event, void *data)
|
||||||
|
|
Loading…
Reference in a new issue