summaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2017-04-25 13:27:12 +0300
committerEduardo Valentin <edubezval@gmail.com>2017-05-28 03:32:04 +0300
commit3e08b2df12983159ea2d9a1aa2b2bc601093b3cb (patch)
tree33a414b198ba6a1b1da1b6715b53c7d2ee4e593a /scripts/gcc-plugins/cyc_complexity_plugin.c
parent04bdbdf93cedc728ceff6af175fcce2bedfdd25f (diff)
downloadlinux-3e08b2df12983159ea2d9a1aa2b2bc601093b3cb.tar.xz
thermal: cpu_cooling: remove cpufreq_cooling_get_level()
There is only one user of cpufreq_cooling_get_level() and that already has pointer to the cpufreq_cdev structure. It can directly call get_level() instead and we can get rid of cpufreq_cooling_get_level(). 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>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions