commit | 02bacb21c6575ce408645ddb22fef44940d10257 | [log] [tgz] |
---|---|---|
author | Viresh Kumar <viresh.kumar@linaro.org> | Tue Apr 25 15:57:17 2017 +0530 |
committer | Eduardo Valentin <edubezval@gmail.com> | Sat May 27 17:32:37 2017 -0700 |
tree | 148e675552852d5d48c421db59e95d2e6c0047d9 | |
parent | b12b6519496bb07b0845ed50eee1ca75c3b7fa81 [diff] |
thermal: cpu_cooling: OPPs are registered for all CPUs The OPPs are registered for all CPUs of a cpufreq policy now and we don't need to run the loop in build_dyn_power_table(). Just check for the policy->cpu and we should be fine. 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>