Skip to contentSkip to conversation

reset: drop Kconfig dependencies from symbol RESET_TN48M_CPLD

PATCH In review Randy Dunlap 2 participants 3 messages Jan 8 – Jan 10 Reset controller framework

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 reset: drop Kconfig dependencies from symbol RESET_TN48M_CPLD

MFD_TN48M_CPLD is an undefined Kconfig symbol, so remove its use in drivers/reset/Kconfig.
Drop COMPILE_TEST so that the driver can be built at any time.

Fixes 5cd3921d16b6 ("reset: Add Delta TN48M CPLD reset controller")

---
Cc: Robert Marko <[email protected]>
Cc: Philipp Zabel <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>

 drivers/reset/Kconfig |    2 --
 1 file changed, 2 deletions(-)
drivers/reset/Kconfig +0 -2
@@ -362,8 +362,6 @@ config RESET_TI_TPS380X
 
 config RESET_TN48M_CPLD
 	tristate "Delta Networks TN48M switch CPLD reset controller"
-	depends on MFD_TN48M_CPLD || COMPILE_TEST
-	default MFD_TN48M_CPLD
 	help
 	  This enables the reset controller driver for the Delta TN48M CPLD.
 	  It provides reset signals for Armada 7040 and 385 SoC-s, Alleycat 3X
maintainer
#1 lore raw
Quoted 17 lines · Randy Dunlap

MFD_TN48M_CPLD is an undefined Kconfig symbol, so remove its use in drivers/reset/Kconfig.
Drop COMPILE_TEST so that the driver can be built at any time.

Fixes 5cd3921d16b6 ("reset: Add Delta TN48M CPLD reset controller")

---
Cc: Robert Marko <[email protected]>
Cc: Philipp Zabel <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>

 drivers/reset/Kconfig |    2 --
 1 file changed, 2 deletions(-)

drivers/reset/Kconfig config RESET_TI_TPS380X · line 367

Quoted 8 lines
drivers/reset/Kconfig +0 -2
@@ -362,8 +362,6 @@ config RESET_TI_TPS380X
 
 config RESET_TN48M_CPLD
 	tristate "Delta Networks TN48M switch CPLD reset controller"
-	depends on MFD_TN48M_CPLD || COMPILE_TEST
-	default MFD_TN48M_CPLD
 	help
 	  This enables the reset controller driver for the Delta TN48M CPLD.
 	  It provides reset signals for Armada 7040 and 385 SoC-s, Alleycat 3X

So [1] should we just drop this driver?

[1] https://lore.kernel.org/all/CA+HBbNGdmkyzNqsKAimNZ=PqSaCbDEhwoXk=Yyi5HL657Hb5GA@mail.gmail.com/

regards
Philipp

#2 lore raw
Quoted 29 lines · Philipp Zabel
Quoted 17 lines · Randy Dunlap

MFD_TN48M_CPLD is an undefined Kconfig symbol, so remove its use in drivers/reset/Kconfig.
Drop COMPILE_TEST so that the driver can be built at any time.

Fixes 5cd3921d16b6 ("reset: Add Delta TN48M CPLD reset controller")

---
Cc: Robert Marko <[email protected]>
Cc: Philipp Zabel <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>

 drivers/reset/Kconfig |    2 --
 1 file changed, 2 deletions(-)

drivers/reset/Kconfig config RESET_TI_TPS380X · line 367

Quoted 8 lines
drivers/reset/Kconfig +0 -2
@@ -362,8 +362,6 @@ config RESET_TI_TPS380X
 
 config RESET_TN48M_CPLD
 	tristate "Delta Networks TN48M switch CPLD reset controller"
-	depends on MFD_TN48M_CPLD || COMPILE_TEST
-	default MFD_TN48M_CPLD
 	help
 	  This enables the reset controller driver for the Delta TN48M CPLD.
 	  It provides reset signals for Armada 7040 and 385 SoC-s, Alleycat 3X

So [1] should we just drop this driver?

Quoted 1 line

[1] https://lore.kernel.org/all/CA+HBbNGdmkyzNqsKAimNZ=PqSaCbDEhwoXk=Yyi5HL657Hb5GA@mail.gmail.com/

I'll send a patch to remove it.

Thanks.

Signature · 1 line
~Randy