Message ID | 1308327432-31177-1-git-send-email-zonque@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Daniel Mack <zonque@gmail.com> writes: > 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. Excellent, thanks! > Signed-off-by: Daniel Mack <zonque@gmail.com> Tested-by: Kevin Hilman <khilman@ti.com>
* Kevin Hilman <khilman@ti.com> [110617 13:54]: > Daniel Mack <zonque@gmail.com> writes: > > > 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. > > Excellent, thanks! > > > Signed-off-by: Daniel Mack <zonque@gmail.com> > > Tested-by: Kevin Hilman <khilman@ti.com> > Applying into devel-fixes. Tony
diff --git a/arch/arm/mach-omap2/board-overo.c b/arch/arm/mach-omap2/board-overo.c index 175e1ab..110475f 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();
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> --- arch/arm/mach-omap2/board-overo.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)