From ed51ae61c3cc8461da51a5c3db72437828448113 Mon Sep 17 00:00:00 2001 From: Eduardo Valentin Date: Wed, 17 Apr 2013 17:12:15 +0000 Subject: [PATCH] --- yaml --- r: 374589 b: refs/heads/master c: 12cb08ba50b73be97e555bcdf84e8f21a196794b h: refs/heads/master i: 374587: 2573d3789d683b1cc58a6c83ef45cfafd2a32657 v: v3 --- [refs] | 2 +- trunk/drivers/thermal/cpu_cooling.c | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 854ea853b2c4..5273bca2a51c 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 56e05fdb6d1fe02b7d28391332cf65a77bffd691 +refs/heads/master: 12cb08ba50b73be97e555bcdf84e8f21a196794b diff --git a/trunk/drivers/thermal/cpu_cooling.c b/trunk/drivers/thermal/cpu_cooling.c index aa9c38b1c3ac..9a1d82ef491e 100644 --- a/trunk/drivers/thermal/cpu_cooling.c +++ b/trunk/drivers/thermal/cpu_cooling.c @@ -413,6 +413,13 @@ static struct notifier_block thermal_cpufreq_notifier_block = { /** * cpufreq_cooling_register - function to create cpufreq cooling device. * @clip_cpus: cpumask of cpus where the frequency constraints will happen. + * + * This interface function registers the cpufreq cooling device with the name + * "thermal-cpufreq-%x". This api can support multiple instances of cpufreq + * cooling devices. + * + * Return: a valid struct thermal_cooling_device pointer on success, + * on failure, it returns a corresponding ERR_PTR(). */ struct thermal_cooling_device *cpufreq_cooling_register( const struct cpumask *clip_cpus)