]> git.baikalelectronics.ru Git - kernel.git/commit
cpufreq: dbx500: Manage cooling device from cpufreq driver
authorViresh Kumar <viresh.kumar@linaro.org>
Tue, 14 Mar 2017 05:18:31 +0000 (10:48 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 15 Mar 2017 23:14:31 +0000 (00:14 +0100)
commitdd0985cd9561582461379ec5a4c3fb16e6eb211b
tree4d626647ea5a8b97b839925354f6697243ec90e9
parent8b297f2ea914a5bb9ab9220f1787dae205f9b190
cpufreq: dbx500: Manage cooling device from cpufreq driver

The best place to register the CPU cooling device is from the cpufreq
driver as we would know if all the resources are already available or
not. That's what is done for the cpufreq-dt.c driver as well.

The cpu-cooling driver for dbx500 platform was just (un)registering
with the thermal framework and that can be handled easily by the cpufreq
driver as well and in proper sequence as well.

Get rid of the cooling driver and its its users and manage everything
from the cpufreq driver instead.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Tested-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
arch/arm/boot/dts/ste-dbx5x0.dtsi
drivers/cpufreq/dbx500-cpufreq.c
drivers/thermal/Kconfig
drivers/thermal/Makefile
drivers/thermal/db8500_cpufreq_cooling.c [deleted file]