Skip to content

Commit af0e5f1

Browse files
idlethreaddlezcano
authored andcommitted
thermal/drivers/clock_cooling: Remove clock_cooling code
clock_cooling has no in-kernel users. It has never found any use in drivers as far as I can tell. Remove the code. Signed-off-by: Amit Kucheria <[email protected]> Signed-off-by: Daniel Lezcano <[email protected]> Link: https://lore.kernel.org/r/aa5d5ac2589cf7b14ece882130731b4a916849a6.1593619943.git.amit.kucheria@linaro.org
1 parent 52674f5 commit af0e5f1

File tree

4 files changed

+0
-515
lines changed

4 files changed

+0
-515
lines changed

drivers/thermal/Kconfig

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -190,16 +190,6 @@ config CPU_IDLE_THERMAL
190190
idle cycle.
191191
endif
192192

193-
config CLOCK_THERMAL
194-
bool "Generic clock cooling support"
195-
depends on COMMON_CLK
196-
depends on PM_OPP
197-
help
198-
This entry implements the generic clock cooling mechanism through
199-
frequency clipping. Typically used to cool off co-processors. The
200-
device that is configured to use this cooling mechanism will be
201-
controlled to reduce clock frequency whenever temperature is high.
202-
203193
config DEVFREQ_THERMAL
204194
bool "Generic device cooling support"
205195
depends on PM_DEVFREQ

drivers/thermal/Makefile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,6 @@ thermal_sys-$(CONFIG_THERMAL_GOV_POWER_ALLOCATOR) += gov_power_allocator.o
2525
thermal_sys-$(CONFIG_CPU_FREQ_THERMAL) += cpufreq_cooling.o
2626
thermal_sys-$(CONFIG_CPU_IDLE_THERMAL) += cpuidle_cooling.o
2727

28-
# clock cooling
29-
thermal_sys-$(CONFIG_CLOCK_THERMAL) += clock_cooling.o
30-
3128
# devfreq cooling
3229
thermal_sys-$(CONFIG_DEVFREQ_THERMAL) += devfreq_cooling.o
3330

0 commit comments

Comments
 (0)