Commit 585834a5 authored by zhuguangqing's avatar zhuguangqing Committed by Daniel Lezcano

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: default avatarzhuguangqing <zhuguangqing@xiaomi.com>
Signed-off-by: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20200917073553.898-1-zhuguangqing83@gmail.com
parent bc501418
...@@ -30,7 +30,7 @@ static DEFINE_IDA(cpuidle_ida); ...@@ -30,7 +30,7 @@ static DEFINE_IDA(cpuidle_ida);
/** /**
* cpuidle_cooling_runtime - Running time computation * 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 * @state: a percentile based number
* *
* The running duration is computed from the idle injection duration * The running duration is computed from the idle injection duration
......
...@@ -28,6 +28,6 @@ void idle_inject_get_duration(struct idle_inject_device *ii_dev, ...@@ -28,6 +28,6 @@ void idle_inject_get_duration(struct idle_inject_device *ii_dev,
unsigned int *idle_duration_us); unsigned int *idle_duration_us);
void idle_inject_set_latency(struct idle_inject_device *ii_dev, void idle_inject_set_latency(struct idle_inject_device *ii_dev,
unsigned int latency_ns); unsigned int latency_us);
#endif /* __IDLE_INJECT_H__ */ #endif /* __IDLE_INJECT_H__ */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment