commit | 81ee14da1051ee87c243b9a0e55d83f1aa274b76 | [log] [tgz] |
---|---|---|
author | Viresh Kumar <viresh.kumar@linaro.org> | Tue Apr 25 15:57:20 2017 +0530 |
committer | Eduardo Valentin <edubezval@gmail.com> | Sat May 27 17:32:48 2017 -0700 |
tree | 3b89fb5aac709bc462b708437ad8d6b17635b33c | |
parent | 349d39dc57396e3e9f39170905ff8d626eea9e44 [diff] |
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>