ARM: OMAP: Devkit8000: Remove double omap_mux_init_gpio
authorThomas Weber <weber@corscience.de>
Tue, 6 Sep 2011 15:11:49 +0000 (17:11 +0200)
committerTony Lindgren <tony@atomide.com>
Sat, 5 Nov 2011 01:07:10 +0000 (18:07 -0700)
Remove the init of card detect pin because
omap_mux_init_gpio() is called during hsmmc initialization
for the write protect and card detect pin.

Signed-off-by: Thomas Weber <weber@corscience.de>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/board-devkit8000.c

index 42918940c530ac5264960a808ec4fdfc117ece25..90154e411da0f27c2850fa4075ba44255bda7eb4 100644 (file)
@@ -226,7 +226,6 @@ static int devkit8000_twl_gpio_setup(struct device *dev,
 {
        int ret;
 
-       omap_mux_init_gpio(29, OMAP_PIN_INPUT);
        /* gpio + 0 is "mmc0_cd" (input/IRQ) */
        mmc[0].gpio_cd = gpio + 0;
        omap2_hsmmc_init(mmc);