]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
thermal: cpu_cooling: fix doc comment over struct cpufreq_cooling_device
authorViresh Kumar <viresh.kumar@linaro.org>
Thu, 4 Dec 2014 04:11:48 +0000 (09:41 +0530)
committerEduardo Valentin <edubezval@gmail.com>
Mon, 8 Dec 2014 16:08:54 +0000 (12:08 -0400)
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>
drivers/thermal/cpu_cooling.c

index 6f2d41e7a9e7b53538c055eee982bcc40b30c92f..cc10641be111dce7f03dccbf49720d069fb9fadc 100644 (file)
@@ -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;