aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHugh Kang <hugh.kang@lge.com>2016-09-06 20:35:39 -0400
committerZhang Rui <rui.zhang@intel.com>2016-09-26 21:38:17 -0400
commit0744f1306f6b0ffc2c6bd68c1edf688b74fa8779 (patch)
tree3ae1d0c57c9c9dffb36743c5b7c851863082128c
parentc6935931c1894ff857616ff8549b61236a19148f (diff)
thermal: cpu_cooling: Fix wrong comment call function name
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>
-rw-r--r--drivers/thermal/cpu_cooling.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/thermal/cpu_cooling.c b/drivers/thermal/cpu_cooling.c
index a32b41783b77..9ce0e9eef923 100644
--- a/drivers/thermal/cpu_cooling.c
+++ b/drivers/thermal/cpu_cooling.c
@@ -74,7 +74,7 @@ struct power_table {
74 * cpufreq frequencies. 74 * cpufreq frequencies.
75 * @allowed_cpus: all the cpus involved for this cpufreq_cooling_device. 75 * @allowed_cpus: all the cpus involved for this cpufreq_cooling_device.
76 * @node: list_head to link all cpufreq_cooling_device together. 76 * @node: list_head to link all cpufreq_cooling_device together.
77 * @last_load: load measured by the latest call to cpufreq_get_actual_power() 77 * @last_load: load measured by the latest call to cpufreq_get_requested_power()
78 * @time_in_idle: previous reading of the absolute time that this cpu was idle 78 * @time_in_idle: previous reading of the absolute time that this cpu was idle
79 * @time_in_idle_timestamp: wall time of the last invocation of 79 * @time_in_idle_timestamp: wall time of the last invocation of
80 * get_cpu_idle_time_us() 80 * get_cpu_idle_time_us()