summaryrefslogtreecommitdiff
path: root/drivers/thermal
diff options
context:
space:
mode:
authorzhuguangqing <zhuguangqing@xiaomi.com>2020-09-17 10:35:53 +0300
committerDaniel Lezcano <daniel.lezcano@linaro.org>2020-10-12 13:08:35 +0300
commit585834a5eeb38a9b290786b6d3ee55f22098c602 (patch)
tree5b6e938acc40725386f52f63745b5b79f6d44049 /drivers/thermal
parentbc501418f09beb40e149d9d004c128c2a7d5552a (diff)
downloadlinux-585834a5eeb38a9b290786b6d3ee55f22098c602.tar.xz
thermal/idle_inject: Fix comment of idle_duration_us and name of latency_ns
The comment of idle_duration_us and the name of latency_ns can be misleading, so fix them. Signed-off-by: zhuguangqing <zhuguangqing@xiaomi.com> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Link: https://lore.kernel.org/r/20200917073553.898-1-zhuguangqing83@gmail.com
Diffstat (limited to 'drivers/thermal')
-rw-r--r--drivers/thermal/cpuidle_cooling.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/thermal/cpuidle_cooling.c b/drivers/thermal/cpuidle_cooling.c
index 78e3e8238116..7ecab4b16b29 100644
--- a/drivers/thermal/cpuidle_cooling.c
+++ b/drivers/thermal/cpuidle_cooling.c
@@ -30,7 +30,7 @@ static DEFINE_IDA(cpuidle_ida);
/**
* cpuidle_cooling_runtime - Running time computation
- * @idle_duration_us: the idle cooling device
+ * @idle_duration_us: CPU idle time to inject in microseconds
* @state: a percentile based number
*
* The running duration is computed from the idle injection duration