thermal/drivers/Kconfig: Convert the CPU cooling device to a choice
authorDaniel Lezcano <daniel.lezcano@linaro.org>
Wed, 4 Dec 2019 15:39:27 +0000 (16:39 +0100)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Mon, 27 Jan 2020 09:24:32 +0000 (10:24 +0100)
commit2b586feab44f41db605924db15c5b039535b1f9b
tree642bc1c5fe8a3506417cf0f8130e658f41a5c6c1
parentfd8433099c5b78c2a1915e1b9911ecfdfc041103
thermal/drivers/Kconfig: Convert the CPU cooling device to a choice

The next changes will add a new way to cool down a CPU by injecting
idle cycles. With the current configuration, a CPU cooling device is
the cpufreq cooling device. As we want to add a new CPU cooling
device, let's convert the CPU cooling to a choice giving a list of CPU
cooling devices. At this point, there is obviously only one CPU
cooling device.

There is no functional changes.

Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Link: https://lore.kernel.org/r/20191204153930.9128-1-daniel.lezcano@linaro.org
drivers/thermal/Kconfig
drivers/thermal/Makefile
include/linux/cpu_cooling.h