diff options
authorJavi Merino <javi.merino@arm.com>2014-12-15 16:55:52 +0000
committerKevin Hilman <khilman@linaro.org>2015-06-05 15:42:35 -0700
commite4db227601ecb78f4c5558f02647ba31b735ad72 (patch)
parent5caf193b157531a26215dda7d4f7311989c1b9db (diff)
thermal: cpu_cooling: document node in struct cpufreq_cooling_device
The node field of struct cpufreq_cooling_device was reintroduced in 2dcd851fe4b4 (thermal: cpu_cooling: Update always cpufreq policy with thermal constraints) but without the documentation that it once had. Add it back so that all the fields of struct cpufreq_cooling_device are documented. Cc: Yadwinder Singh Brar <yadi.brar@samsung.com> Cc: Eduardo Valentin <edubezval@gmail.com> Cc: Zhang Rui <rui.zhang@intel.com> Signed-off-by: Javi Merino <javi.merino@arm.com> Signed-off-by: Zhang Rui <rui.zhang@intel.com> (cherry picked from commit fc4de356e033a46a08caf78027df871cc20780c1) Signed-off-by: Kevin Hilman <khilman@linaro.org>
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/thermal/cpu_cooling.c b/drivers/thermal/cpu_cooling.c
index 9b45f6426f44..f65f0d109fc8 100644
--- a/drivers/thermal/cpu_cooling.c
+++ b/drivers/thermal/cpu_cooling.c
@@ -57,6 +57,7 @@
* @max_level: maximum cooling level. One less than total number of valid
* cpufreq frequencies.
* @allowed_cpus: all the cpus involved for this cpufreq_cooling_device.
+ * @node: list_head to link all cpufreq_cooling_device together.
* This structure is required for keeping information of each registered
* cpufreq_cooling_device.