summaryrefslogtreecommitdiff
path: root/drivers/thermal/intel_quark_dts_thermal.c
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2015-07-30 12:40:31 +0530
committerEduardo Valentin <edubezval@gmail.com>2015-08-14 18:26:22 -0700
commit166529c9b6f91b97d771e2e7ebf748aadb239b44 (patch)
treedfea5c8d883bc4697999a80462ad6181c202918c /drivers/thermal/intel_quark_dts_thermal.c
parent76fd38ce21de506a3867768fac42729eb6d7dedf (diff)
downloadlwn-166529c9b6f91b97d771e2e7ebf748aadb239b44.tar.gz
lwn-166529c9b6f91b97d771e2e7ebf748aadb239b44.zip
thermal/cpu_cooling: quit early after updating policy
If a valid cpufreq_dev is found for policy->cpu, we should update the policy and quit the for loop. There is no need to keep traversing the list of cpufreq_dev's. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Diffstat (limited to 'drivers/thermal/intel_quark_dts_thermal.c')
0 files changed, 0 insertions, 0 deletions