Skip to contentSkip to conversation

MIPS: remove CONFIG_PMCTWILED completely

PATCH In review Paul Bolle 2 participants 2 messages May 20, 2014 – May 22, 2014 MIPS

lore
Share & tools
lore

Paul Bolle

author
#0 lore raw

PATCH 1/1 MIPS: remove CONFIG_PMCTWILED completely

Commit 8b284dbc2200 ("MIPS: PNX Removing dead CONFIG_PMCTWILED") missed one reference to CONFIG_PMCTWILED in the code. It also missed one related reference to pmctwiled_setup(). Remove these references now.

---
Untested.

 arch/mips/pmcs-msp71xx/msp_setup.c | 9 ---------
 1 file changed, 9 deletions(-)
arch/mips/pmcs-msp71xx/msp_setup.c +0 -9
index 7e980767679c..ba9d518dc624 100644
@@ -27,7 +27,6 @@
 #endif
 
 extern void msp_serial_setup(void);
-extern void pmctwiled_setup(void);
 
 #if defined(CONFIG_PMC_MSP7120_EVAL) || \
     defined(CONFIG_PMC_MSP7120_GW) || \
@@ -235,12 +234,4 @@ void __init prom_init(void)
 		register_smp_ops(&msp_smtc_smp_ops);
 #endif
 	}
-
-#ifdef CONFIG_PMCTWILED
-	/*
-	 * Setup LED states before the subsys_initcall loads other
-	 * dependent drivers/modules.
-	 */
-	pmctwiled_setup();
-#endif
 }
Signature · 1 line
1.9.0
#1 lore raw
Quoted 7 lines · Paul Bolle

Commit 8b284dbc2200 ("MIPS: PNX Removing dead CONFIG_PMCTWILED") missed one reference to CONFIG_PMCTWILED in the code. It also missed one related reference to pmctwiled_setup(). Remove these references now.

---
Untested.

Who is testing MSP71xx anyway ...

Anyway, looks good. Queued for 3.16.

Ralf