summary refs log tree commit diff
path: root/drivers/thermal/intel
diff options
context:
space:
mode:
authorDaniel Lezcano <daniel.lezcano@linaro.org>2019-04-02 18:12:48 +0200
committerZhang Rui <rui.zhang@intel.com>2019-05-06 20:35:24 +0800
commite9cf125bc1f99caacd1f4700b2c78659c53c4d9d (patch)
treef9e261024b22ca92017664e29e59b46b50a0e0d8 /drivers/thermal/intel
parent77e1dd46a1ad098f2bdb1fc953fea0d59e5d7fb6 (diff)
downloadlinux-e9cf125bc1f99caacd1f4700b2c78659c53c4d9d.tar.gz
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/intel')
-rw-r--r--drivers/thermal/intel/Kconfig1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/thermal/intel/Kconfig b/drivers/thermal/intel/Kconfig
index 2e013eeb4a1d..2c727a820759 100644
--- a/drivers/thermal/intel/Kconfig
+++ b/drivers/thermal/intel/Kconfig
@@ -1,6 +1,5 @@
 config INTEL_POWERCLAMP
 	tristate "Intel PowerClamp idle injection driver"
-	depends on THERMAL
 	depends on X86
 	depends on CPU_SUP_INTEL
 	help