diff mbox series

thermal: Drop explicit PM_OPP dependency from DEVFREQ_THERMAL

Message ID 20200117055914.14584-1-cw00.choi@samsung.com (mailing list archive)
State New, archived
Delegated to: Daniel Lezcano
Headers show
Series thermal: Drop explicit PM_OPP dependency from DEVFREQ_THERMAL | expand

Commit Message

Chanwoo Choi Jan. 17, 2020, 5:59 a.m. UTC
The commit b9c69e043266 ("PM / devfreq: Add dependency on PM_OPP")
has selected PM_OPP always to use it as the mandatory interface. So that
CONFIG_DEVFREQ_THERMAL doesn't need to specify the PM_OPP dependency
because if CONFIG_PM_DEVFREQ is enabled, PM_OPP is always enabled.

Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
---
 drivers/thermal/Kconfig | 1 -
 1 file changed, 1 deletion(-)
diff mbox series

Patch

diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig
index 79b27865c6f4..9c3acd715428 100644
--- a/drivers/thermal/Kconfig
+++ b/drivers/thermal/Kconfig
@@ -175,7 +175,6 @@  config CLOCK_THERMAL
 config DEVFREQ_THERMAL
 	bool "Generic device cooling support"
 	depends on PM_DEVFREQ
-	depends on PM_OPP
 	help
 	  This implements the generic devfreq cooling mechanism through
 	  frequency reduction for devices using devfreq.