diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2017-04-25 15:57:22 +0530 |
---|---|---|
committer | Eduardo Valentin <edubezval@gmail.com> | 2017-05-27 17:32:55 -0700 |
commit | 53ca1ece60a719e23f686c647cb05d9e12a31974 (patch) | |
tree | 0a190a99e34eede0d8cf54700fe72de75be554d4 /include/linux/hugetlb_inline.h | |
parent | da27f69d6a4eaf7bdaaad9d9e1b997a1c8f186aa (diff) | |
download | blackbird-op-linux-53ca1ece60a719e23f686c647cb05d9e12a31974.tar.gz blackbird-op-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 'include/linux/hugetlb_inline.h')
0 files changed, 0 insertions, 0 deletions