From: Daniel Mack Date: Mon, 4 Jul 2011 11:08:11 +0000 (-0700) Subject: omap: Overo: remove duplicate call to overo_ads7846_init() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e47c3c0c105a87837019535b3d9502ec40b4db43;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git omap: Overo: remove duplicate call to overo_ads7846_init() 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 Tested-by: Kevin Hilman Signed-off-by: Tony Lindgren --- diff --git a/arch/arm/mach-omap2/board-overo.c b/arch/arm/mach-omap2/board-overo.c index 1bf2f39b9d0e..9883313bc076 100644 --- a/arch/arm/mach-omap2/board-overo.c +++ b/arch/arm/mach-omap2/board-overo.c @@ -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();