thermal: cpu_cooling: document node in struct cpufreq_cooling_device
authorJavi Merino <javi.merino@arm.com>
Mon, 15 Dec 2014 16:55:52 +0000 (16:55 +0000)
committerZhang Rui <rui.zhang@intel.com>
Sun, 21 Dec 2014 13:40:13 +0000 (21:40 +0800)
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>
drivers/thermal/cpu_cooling.c

index ad09e51ffae4d097109241d9a19b97c97858109b..588185abeab05ec3c3a36137ca4a451af9d16c4b 100644 (file)
@@ -39,6 +39,7 @@
  * @cpufreq_val: integer value representing the absolute value of the clipped
  *     frequency.
  * @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
  * cpufreq_cooling_device registered. In order to prevent corruption of this a