thermal: cpu_cooling: Fix wrong comment call function name
authorHugh Kang <hugh.kang@lge.com>
Wed, 7 Sep 2016 00:35:39 +0000 (09:35 +0900)
committerZhang Rui <rui.zhang@intel.com>
Tue, 27 Sep 2016 01:38:17 +0000 (09:38 +0800)
The last_load is updated not cpufreq_get_actual_power() function call
but cpufreq_get_requested_power() function call.

Signed-off-by: Inhyuk Kang <hugh.kang@lge.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Acked-by: Javi Merino <javi.merino@arm.com>
Acked-by: Javi Merino <javi.merino@arm.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
drivers/thermal/cpu_cooling.c

index a32b41783b7778b7d32cd8fc44026fb8476ace0d..9ce0e9eef9230c725eb510692f47e794ece255e9 100644 (file)
@@ -74,7 +74,7 @@ struct power_table {
  *     cpufreq frequencies.
  * @allowed_cpus: all the cpus involved for this cpufreq_cooling_device.
  * @node: list_head to link all cpufreq_cooling_device together.
- * @last_load: load measured by the latest call to cpufreq_get_actual_power()
+ * @last_load: load measured by the latest call to cpufreq_get_requested_power()
  * @time_in_idle: previous reading of the absolute time that this cpu was idle
  * @time_in_idle_timestamp: wall time of the last invocation of
  *     get_cpu_idle_time_us()