Commit e9cf125b authored by Daniel Lezcano's avatar Daniel Lezcano Committed by Zhang Rui
Browse files

thermal/drivers/core: Remove depends on THERMAL in Kconfig



The dependency on the THERMAL option to be set is already there implicitly
by the "if THERMAL" conditionnal option. The sub Kconfigs do not have to
check against the THERMAL option as they are called from a Kconfig block
which is enabled by the conditionnal option.

Remove the useless "depends on THERMAL" in the Kconfigs.

Signed-off-by: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: default avatarZhang Rui <rui.zhang@intel.com>
parent 77e1dd46
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -24,7 +24,6 @@ config THERMAL_STATISTICS

config THERMAL_EMERGENCY_POWEROFF_DELAY_MS
	int "Emergency poweroff delay in milli-seconds"
	depends on THERMAL
	default 0
	help
	  Thermal subsystem will issue a graceful shutdown when
@@ -152,7 +151,6 @@ config CPU_THERMAL
	bool "generic cpu cooling support"
	depends on CPU_FREQ
	depends on THERMAL_OF
	depends on THERMAL=y
	help
	  This implements the generic cpu cooling mechanism through frequency
	  reduction. An ACPI version of this already exists
+0 −1
Original line number Diff line number Diff line
config INTEL_POWERCLAMP
	tristate "Intel PowerClamp idle injection driver"
	depends on THERMAL
	depends on X86
	depends on CPU_SUP_INTEL
	help
+0 −1
Original line number Diff line number Diff line
config QCOM_TSENS
	tristate "Qualcomm TSENS Temperature Alarm"
	depends on THERMAL
	depends on QCOM_QFPROM
	depends on ARCH_QCOM || COMPILE_TEST
	help