thermal/idle_inject: Fix comment of idle_duration_us and name of latency_ns
Subsystems (2)
PATCH 1/1 thermal/idle_inject: Fix comment of idle_duration_us and name of latency_ns
From: zhuguangqing <[email protected]>
The comment of idle_duration_us and the name of latency_ns can be misleading, so fix them.
Signed-off-by zhuguangqing <[email protected]>
--- drivers/thermal/cpuidle_cooling.c | 2 +- include/linux/idle_inject.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/thermal/cpuidle_cooling.c +1 -1
@@ -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
include/linux/idle_inject.h +1 -1
@@ -28,6 +28,6 @@ void idle_inject_get_duration(struct idle_inject_device *ii_dev, unsigned int *idle_duration_us);void idle_inject_set_latency (struct idle_inject_device *ii_dev, -unsigned int latency_ns); +unsigned int latency_us);#endif /* __IDLE_INJECT_H__ */
Signature · 1 line
2.17.1
Daniel Lezcano
AppliedQuoted 7 lines · On 17/09/2020 09:35, [email protected] wrote:
From: zhuguangqing <[email protected]>
The comment of
idle_duration_usand the name oflatency_nscan be misleading, so fix them.Signed-off-by zhuguangqing <[email protected]>---
Applied, thanks
Signature · 5 lines
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook | <http://twitter.com/#!/linaroorg> Twitter | <http://www.linaro.org/linaro-blog/> Blog