From patchwork Thu Sep 1 17:21:27 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Benoit Cousson X-Patchwork-Id: 1119822 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 p81HMoMA025598 for ; Thu, 1 Sep 2011 17:22:50 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756147Ab1IARWr (ORCPT ); Thu, 1 Sep 2011 13:22:47 -0400 Received: from bear.ext.ti.com ([192.94.94.41]:52301 "EHLO bear.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756137Ab1IARWq (ORCPT ); Thu, 1 Sep 2011 13:22:46 -0400 Received: from dlep36.itg.ti.com ([157.170.170.91]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id p81HMetr001239 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 1 Sep 2011 12:22:40 -0500 Received: from dlep26.itg.ti.com (smtp-le.itg.ti.com [157.170.170.27]) by dlep36.itg.ti.com (8.13.8/8.13.8) with ESMTP id p81HMd2h020036; Thu, 1 Sep 2011 12:22:39 -0500 (CDT) Received: from DLEE74.ent.ti.com (localhost [127.0.0.1]) by dlep26.itg.ti.com (8.13.8/8.13.8) with ESMTP id p81HMdKl018110; Thu, 1 Sep 2011 12:22:39 -0500 (CDT) Received: from dlelxv22.itg.ti.com (172.17.1.197) by DLEE74.ent.ti.com (157.170.170.8) with Microsoft SMTP Server id 14.1.323.3; Thu, 1 Sep 2011 12:22:39 -0500 Received: from localhost.localdomain (lncpu04.tif.ti.com [137.167.102.15]) by dlelxv22.itg.ti.com (8.13.8/8.13.8) with ESMTP id p81HLa59016431; Thu, 1 Sep 2011 12:22:38 -0500 From: Benoit Cousson To: , CC: , , , , Benoit Cousson Subject: [PATCH 11/13] OMAP4: board-dt: Remove static i2c init Date: Thu, 1 Sep 2011 19:21:27 +0200 Message-ID: <1314897689-17791-12-git-send-email-b-cousson@ti.com> X-Mailer: git-send-email 1.7.0.4 In-Reply-To: <1314897689-17791-1-git-send-email-b-cousson@ti.com> References: <1314897689-17791-1-git-send-email-b-cousson@ti.com> MIME-Version: 1.0 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]); Thu, 01 Sep 2011 17:22:51 +0000 (UTC) Since the minimal DT support is there to initialize properly the twl6030, remove the static init from the board file. Signed-off-by: Benoit Cousson Cc: Tony Lindgren --- arch/arm/mach-omap2/board-omap4-dt.c | 15 --------------- 1 files changed, 0 insertions(+), 15 deletions(-) diff --git a/arch/arm/mach-omap2/board-omap4-dt.c b/arch/arm/mach-omap2/board-omap4-dt.c index 5688cd5..cefe0a6 100644 --- a/arch/arm/mach-omap2/board-omap4-dt.c +++ b/arch/arm/mach-omap2/board-omap4-dt.c @@ -51,20 +51,6 @@ static struct of_device_id omap_dt_gic_match[] __initdata = { {} }; -/* - * XXX: Still needed to boot until the i2c & twl driver is adapted to - * device-tree - */ -static struct twl4030_platform_data sdp4430_twldata = { - .irq_base = TWL6030_IRQ_BASE, - .irq_end = TWL6030_IRQ_END, -}; - -static void __init omap4_i2c_init(void) -{ - omap4_pmic_init("twl6030", &sdp4430_twldata); -} - static void __init omap4_init_machine(void) { int package = OMAP_PACKAGE_CBS; @@ -78,7 +64,6 @@ static void __init omap4_init_machine(void) package = OMAP_PACKAGE_CBL; omap4_mux_init(NULL, NULL, package); - omap4_i2c_init(); /* * XXX: Still needed to boot until the omap-serial driver is adapted * to device-tree