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

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
...@@ -24,7 +24,6 @@ config THERMAL_STATISTICS ...@@ -24,7 +24,6 @@ config THERMAL_STATISTICS
config THERMAL_EMERGENCY_POWEROFF_DELAY_MS config THERMAL_EMERGENCY_POWEROFF_DELAY_MS
int "Emergency poweroff delay in milli-seconds" int "Emergency poweroff delay in milli-seconds"
depends on THERMAL
default 0 default 0
help help
Thermal subsystem will issue a graceful shutdown when Thermal subsystem will issue a graceful shutdown when
...@@ -152,7 +151,6 @@ config CPU_THERMAL ...@@ -152,7 +151,6 @@ config CPU_THERMAL
bool "generic cpu cooling support" bool "generic cpu cooling support"
depends on CPU_FREQ depends on CPU_FREQ
depends on THERMAL_OF depends on THERMAL_OF
depends on THERMAL=y
help help
This implements the generic cpu cooling mechanism through frequency This implements the generic cpu cooling mechanism through frequency
reduction. An ACPI version of this already exists reduction. An ACPI version of this already exists
......
config INTEL_POWERCLAMP config INTEL_POWERCLAMP
tristate "Intel PowerClamp idle injection driver" tristate "Intel PowerClamp idle injection driver"
depends on THERMAL
depends on X86 depends on X86
depends on CPU_SUP_INTEL depends on CPU_SUP_INTEL
help help
......
config QCOM_TSENS config QCOM_TSENS
tristate "Qualcomm TSENS Temperature Alarm" tristate "Qualcomm TSENS Temperature Alarm"
depends on THERMAL
depends on QCOM_QFPROM depends on QCOM_QFPROM
depends on ARCH_QCOM || COMPILE_TEST depends on ARCH_QCOM || COMPILE_TEST
help help
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment