diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2017-04-25 13:27:20 +0300 |
---|---|---|
committer | Eduardo Valentin <edubezval@gmail.com> | 2017-05-28 03:32:48 +0300 |
commit | 81ee14da1051ee87c243b9a0e55d83f1aa274b76 (patch) | |
tree | 3b89fb5aac709bc462b708437ad8d6b17635b33c /drivers/sh/clk | |
parent | 349d39dc57396e3e9f39170905ff8d626eea9e44 (diff) | |
download | linux-81ee14da1051ee87c243b9a0e55d83f1aa274b76.tar.xz |
thermal: cpu_cooling: create structure for idle time stats
We keep two arrays for idle time stats and allocate memory for them
separately. It would be much easier to follow if we create an array of
idle stats structure instead and allocate it once.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Lukasz Luba <lukasz.luba@arm.com>
Tested-by: Lukasz Luba <lukasz.luba@arm.com>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Diffstat (limited to 'drivers/sh/clk')
0 files changed, 0 insertions, 0 deletions