summaryrefslogtreecommitdiffstats
path: root/drivers/thermal/cpu_cooling.c
diff options
context:
space:
mode:
authorViresh Kumar2014-12-04 05:11:48 +0100
committerEduardo Valentin2014-12-08 17:08:54 +0100
commitbeca6053fc21bbe0ed0242a3f79c0cca5749a90f (patch)
tree4ea96633b91d9358ccacaed611b9429df89a7cc5 /drivers/thermal/cpu_cooling.c
parentthermal: cpu_cooling: random comment fixups (diff)
downloadkernel-qcow2-linux-beca6053fc21bbe0ed0242a3f79c0cca5749a90f.tar.gz
kernel-qcow2-linux-beca6053fc21bbe0ed0242a3f79c0cca5749a90f.tar.xz
kernel-qcow2-linux-beca6053fc21bbe0ed0242a3f79c0cca5749a90f.zip
thermal: cpu_cooling: fix doc comment over struct cpufreq_cooling_device
cooling_cpufreq_lock isn't used to protect this structure and so the comment over it is outdated. Fix it. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Diffstat (limited to 'drivers/thermal/cpu_cooling.c')
-rw-r--r--drivers/thermal/cpu_cooling.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/thermal/cpu_cooling.c b/drivers/thermal/cpu_cooling.c
index 6f2d41e7a9e7..cc10641be111 100644
--- a/drivers/thermal/cpu_cooling.c
+++ b/drivers/thermal/cpu_cooling.c
@@ -40,9 +40,8 @@
* frequency.
* @allowed_cpus: all the cpus involved for this cpufreq_cooling_device.
*
- * This structure is required for keeping information of each
- * cpufreq_cooling_device registered. In order to prevent corruption of this a
- * mutex lock cooling_cpufreq_lock is used.
+ * This structure is required for keeping information of each registered
+ * cpufreq_cooling_device.
*/
struct cpufreq_cooling_device {
int id;