omap: Overo: remove duplicate call to overo_ads7846_init()
authorDaniel Mack <zonque@gmail.com>
Mon, 4 Jul 2011 11:08:11 +0000 (04:08 -0700)
committerTony Lindgren <tony@atomide.com>
Mon, 4 Jul 2011 11:11:08 +0000 (04:11 -0700)
overo_ads7846_init() is already called from overo_spi_init(), and
calling it twice is not only unnecessary but causes a warning as
"reg-fixed-voltage.1" is already added to the device tree.

Signed-off-by: Daniel Mack <zonque@gmail.com>
Tested-by: Kevin Hilman <khilman@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/board-overo.c

index 1bf2f39..9883313 100644 (file)
@@ -568,7 +568,6 @@ static void __init overo_init(void)
        usb_musb_init(NULL);
        usbhs_init(&usbhs_bdata);
        overo_spi_init();
-       overo_ads7846_init();
        overo_init_smsc911x();
        overo_display_init();
        overo_init_led();