From patchwork Fri Jun 17 16:17:12 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Mack X-Patchwork-Id: 891982 X-Patchwork-Delegate: tony@atomide.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter2.kernel.org (8.14.4/8.14.4) with ESMTP id p5HGHLrR022514 for ; Fri, 17 Jun 2011 16:17:21 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759227Ab1FQQRT (ORCPT ); Fri, 17 Jun 2011 12:17:19 -0400 Received: from mail.bugwerft.de ([212.112.241.193]:44397 "EHLO mail.bugwerft.de" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1756923Ab1FQQRS (ORCPT ); Fri, 17 Jun 2011 12:17:18 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.bugwerft.de (Postfix) with ESMTP id 3879F8F841B; Fri, 17 Jun 2011 18:17:17 +0200 (CEST) Received: from mail.bugwerft.de ([127.0.0.1]) by localhost (rambrand.caiaq.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sMVEn3IcoPEO; Fri, 17 Jun 2011 18:17:17 +0200 (CEST) Received: from localhost.localdomain (i59F76B5E.versanet.de [89.247.107.94]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.bugwerft.de (Postfix) with ESMTPSA id CAE4E8F8418; Fri, 17 Jun 2011 18:17:16 +0200 (CEST) From: Daniel Mack To: linux-arm-kernel@lists.infradead.org Cc: linux-omap@vger.kernel.org, tony@atomide.com, Daniel Mack Subject: [PATCH] ARM: OMAP: Overo: remove duplicate call to overo_ads7846_init() Date: Fri, 17 Jun 2011 18:17:12 +0200 Message-Id: <1308327432-31177-1-git-send-email-zonque@gmail.com> X-Mailer: git-send-email 1.7.5.1 In-Reply-To: <87r56sbg3b.fsf@ti.com> References: <87r56sbg3b.fsf@ti.com> Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter2.kernel.org [140.211.167.43]); Fri, 17 Jun 2011 16:17:22 +0000 (UTC) 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 --- arch/arm/mach-omap2/board-overo.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) 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();