summaryrefslogtreecommitdiffstats
path: root/drivers/thermal/qcom/Kconfig
diff options
context:
space:
mode:
authorDaniel Lezcano2019-04-02 18:12:48 +0200
committerZhang Rui2019-05-06 14:35:24 +0200
commite9cf125bc1f99caacd1f4700b2c78659c53c4d9d (patch)
treef9e261024b22ca92017664e29e59b46b50a0e0d8 /drivers/thermal/qcom/Kconfig
parentthermal/drivers/core: Remove module unload code (diff)
downloadkernel-qcow2-linux-e9cf125bc1f99caacd1f4700b2c78659c53c4d9d.tar.gz
kernel-qcow2-linux-e9cf125bc1f99caacd1f4700b2c78659c53c4d9d.tar.xz
kernel-qcow2-linux-e9cf125bc1f99caacd1f4700b2c78659c53c4d9d.zip
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/qcom/Kconfig')
-rw-r--r--drivers/thermal/qcom/Kconfig1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/thermal/qcom/Kconfig b/drivers/thermal/qcom/Kconfig
index cdb455ffd575..3ce20fec86a2 100644
--- a/drivers/thermal/qcom/Kconfig
+++ b/drivers/thermal/qcom/Kconfig
@@ -1,6 +1,5 @@
config QCOM_TSENS
tristate "Qualcomm TSENS Temperature Alarm"
- depends on THERMAL
depends on QCOM_QFPROM
depends on ARCH_QCOM || COMPILE_TEST
help