diff options
author | Daniel Lezcano <daniel.lezcano@linaro.org> | 2019-04-02 18:12:48 +0200 |
---|---|---|
committer | Zhang Rui <rui.zhang@intel.com> | 2019-05-06 20:35:24 +0800 |
commit | e9cf125bc1f99caacd1f4700b2c78659c53c4d9d (patch) | |
tree | f9e261024b22ca92017664e29e59b46b50a0e0d8 /drivers/thermal/Kconfig | |
parent | 77e1dd46a1ad098f2bdb1fc953fea0d59e5d7fb6 (diff) | |
download | linux-e9cf125bc1f99caacd1f4700b2c78659c53c4d9d.tar.bz2 |
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: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Diffstat (limited to 'drivers/thermal/Kconfig')
-rw-r--r-- | drivers/thermal/Kconfig | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig index ccf5b9408d7a..d8aa7fac8c56 100644 --- a/drivers/thermal/Kconfig +++ b/drivers/thermal/Kconfig @@ -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 |