From: Viresh Kumar Date: Thu, 4 Dec 2014 04:11:56 +0000 (+0530) Subject: thermal: cpu_cooling: don't iterate over all allowed_cpus to update cpufreq policy X-Git-Tag: fixes-v4.0-rc1~365^2^2~1^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e1fae554fb69b8869acbea9397d15758a93d1204;p=pandora-kernel.git 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 Signed-off-by: Eduardo Valentin --- Reading git-diff-tree failed