diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2017-04-25 13:27:22 +0300 |
---|---|---|
committer | Eduardo Valentin <edubezval@gmail.com> | 2017-05-28 03:32:55 +0300 |
commit | 53ca1ece60a719e23f686c647cb05d9e12a31974 (patch) | |
tree | 0a190a99e34eede0d8cf54700fe72de75be554d4 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | da27f69d6a4eaf7bdaaad9d9e1b997a1c8f186aa (diff) | |
download | linux-53ca1ece60a719e23f686c647cb05d9e12a31974.tar.xz |
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 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions