summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2014-12-04 07:11:59 +0300
committerEduardo Valentin <edubezval@gmail.com>2014-12-08 19:09:52 +0300
commit7adb635b3cd790e4e0d7e9d0b3dd30574ae36596 (patch)
treeb8671125e393090c978db30039f259b0f7282c1a /scripts/gdb/linux/utils.py
parent730abe064b6f8860302b75a689ceed059c08e0b1 (diff)
downloadlinux-7adb635b3cd790e4e0d7e9d0b3dd30574ae36596.tar.xz
thermal: cpu_cooling: initialize 'cpufreq_val' on registration
There is no point checking for validity of 'cpufreq_val' from cpufreq_thermal_notifier() every time the routine is called. Its guaranteed to be 0 on the first call but will be valid otherwise. Lets update it once while the device registers. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions