diff mbox series

MIPS: ath79: remove obsolete ATH79_DEV_* configs

Message ID 20230316114952.26253-1-lukas.bulwahn@gmail.com (mailing list archive)
State Accepted
Commit a45e5fe792349315827b483eb23b307df47c6c6c
Headers show
Series MIPS: ath79: remove obsolete ATH79_DEV_* configs | expand

Commit Message

Lukas Bulwahn March 16, 2023, 11:49 a.m. UTC
Commit 85b9686dae30 ("MIPS: ath79: drop platform device registration code")
removes all files arch/mips/ath79/dev-*.[ch], adjusts the Makefile, but
misses to adjust the Kconfig file. Hence, since then, the configs
ATH79_DEV_* are really dead.

Commit 3a77e0d75eed ("MIPS: ath79: drop machfiles") already removes all
configs that select ATH79_DEV_* config. So at that point, they was not a
way to enable them with a kernel build configuration.

Remove these obsolete ATH79_DEV_* configs.

Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
---
 arch/mips/ath79/Kconfig | 16 ----------------
 1 file changed, 16 deletions(-)

Comments

Thomas Bogendoerfer March 17, 2023, 10:22 a.m. UTC | #1
On Thu, Mar 16, 2023 at 12:49:52PM +0100, Lukas Bulwahn wrote:
> Commit 85b9686dae30 ("MIPS: ath79: drop platform device registration code")
> removes all files arch/mips/ath79/dev-*.[ch], adjusts the Makefile, but
> misses to adjust the Kconfig file. Hence, since then, the configs
> ATH79_DEV_* are really dead.
> 
> Commit 3a77e0d75eed ("MIPS: ath79: drop machfiles") already removes all
> configs that select ATH79_DEV_* config. So at that point, they was not a
> way to enable them with a kernel build configuration.
> 
> Remove these obsolete ATH79_DEV_* configs.
> 
> Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
> ---
>  arch/mips/ath79/Kconfig | 16 ----------------
>  1 file changed, 16 deletions(-)

applied to mips-next.

Thomas.
diff mbox series

Patch

diff --git a/arch/mips/ath79/Kconfig b/arch/mips/ath79/Kconfig
index 7367416642cb..04154128c4de 100644
--- a/arch/mips/ath79/Kconfig
+++ b/arch/mips/ath79/Kconfig
@@ -29,20 +29,4 @@  config SOC_QCA955X
 config PCI_AR724X
 	def_bool n
 
-config ATH79_DEV_GPIO_BUTTONS
-	def_bool n
-
-config ATH79_DEV_LEDS_GPIO
-	def_bool n
-
-config ATH79_DEV_SPI
-	def_bool n
-
-config ATH79_DEV_USB
-	def_bool n
-
-config ATH79_DEV_WMAC
-	depends on (SOC_AR913X || SOC_AR933X || SOC_AR934X || SOC_QCA955X)
-	def_bool n
-
 endif