diff options
author | 2017-04-25 15:57:22 +0530 | |
---|---|---|
committer | 2017-05-27 17:32:55 -0700 | |
commit | 53ca1ece60a719e23f686c647cb05d9e12a31974 (patch) | |
tree | 0a190a99e34eede0d8cf54700fe72de75be554d4 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | thermal: cpu_cooling: get_level() can't fail (diff) | |
download | wireguard-linux-53ca1ece60a719e23f686c647cb05d9e12a31974.tar.xz wireguard-linux-53ca1ece60a719e23f686c647cb05d9e12a31974.zip |
thermal: cpu_cooling: don't store cpu_dev in cpufreq_cdev
'cpu_dev' is used by only one function, get_static_power(), and it
wouldn't be time consuming to get the cpu device structure within it.
This would help removing cpu_dev from struct cpufreq_cooling_device.
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions