thermal: cpufreq_cooling: Use new thermal pressure update function
authorLukasz Luba <lukasz.luba@arm.com>
Tue, 9 Nov 2021 19:57:11 +0000 (19:57 +0000)
committerViresh Kumar <viresh.kumar@linaro.org>
Tue, 23 Nov 2021 09:40:26 +0000 (15:10 +0530)
commit5168b1be09055436cc9ff34509bda1719023baa8
tree9840ddcf004ce7b734a47ff22c2052b1362995e2
parentc214f124161d446b340597e7c968e0a2dc149142
thermal: cpufreq_cooling: Use new thermal pressure update function

Thermal pressure provides a new API, which allows to use CPU frequency
as an argument. That removes the need of local conversion to capacity.
Use this new function and remove old conversion code.

Signed-off-by: Lukasz Luba <lukasz.luba@arm.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
drivers/thermal/cpufreq_cooling.c