commit | 53ca1ece60a719e23f686c647cb05d9e12a31974 | [log] [tgz] |
---|---|---|
author | Viresh Kumar <viresh.kumar@linaro.org> | Tue Apr 25 15:57:22 2017 +0530 |
committer | Eduardo Valentin <edubezval@gmail.com> | Sat May 27 17:32:55 2017 -0700 |
tree | 0a190a99e34eede0d8cf54700fe72de75be554d4 | |
parent | da27f69d6a4eaf7bdaaad9d9e1b997a1c8f186aa [diff] |
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>