commit | e1fae554fb69b8869acbea9397d15758a93d1204 | [log] [tgz] |
---|---|---|
author | Viresh Kumar <viresh.kumar@linaro.org> | Thu Dec 04 09:41:56 2014 +0530 |
committer | Eduardo Valentin <edubezval@gmail.com> | Mon Dec 08 12:08:56 2014 -0400 |
tree | 39f216c800991b6f2b8c927842372708253e836d | |
parent | 405fb8256226ad68cf6ba5172d289a70cb447c81 [diff] |
thermal: cpu_cooling: don't iterate over all allowed_cpus to update cpufreq policy All CPUs present in 'allowed_cpus' share the same 'struct cpufreq_policy' structure and so calling cpufreq_update_policy() for each of them doesn't make sense. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Eduardo Valentin <edubezval@gmail.com>