From patchwork Fri Jul 9 08:22:05 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ajay Kumar Gupta X-Patchwork-Id: 111013 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.4/8.14.3) with ESMTP id o698MLOo032307 for ; Fri, 9 Jul 2010 08:22:21 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752690Ab0GIIWS (ORCPT ); Fri, 9 Jul 2010 04:22:18 -0400 Received: from bear.ext.ti.com ([192.94.94.41]:34433 "EHLO bear.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752093Ab0GIIWQ (ORCPT ); Fri, 9 Jul 2010 04:22:16 -0400 Received: from dbdp31.itg.ti.com ([172.24.170.98]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id o698M9W8012389 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 9 Jul 2010 03:22:12 -0500 Received: from psplinux050.india.ti.com (localhost [127.0.0.1]) by dbdp31.itg.ti.com (8.13.8/8.13.8) with ESMTP id o698M7Ug008253; Fri, 9 Jul 2010 13:52:07 +0530 (IST) Received: from psplinux050.india.ti.com (localhost [127.0.0.1]) by psplinux050.india.ti.com (8.13.1/8.13.1) with ESMTP id o698M7pY027723; Fri, 9 Jul 2010 13:52:07 +0530 Received: (from a0393629@localhost) by psplinux050.india.ti.com (8.13.1/8.13.1/Submit) id o698M6LC027719; Fri, 9 Jul 2010 13:52:06 +0530 From: Ajay Kumar Gupta To: linux-omap@vger.kernel.org Cc: felipe.balbi@nokia.com, Ajay Kumar Gupta Subject: [PATCH resend 1/2] OMAP3: musb: remove unneeded inits in musb_plat Date: Fri, 9 Jul 2010 13:52:05 +0530 Message-Id: <1278663726-27689-1-git-send-email-ajay.gupta@ti.com> X-Mailer: git-send-email 1.6.2.4 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.3 (demeter.kernel.org [140.211.167.41]); Fri, 09 Jul 2010 08:22:21 +0000 (UTC) Removed unneeded 'power' and 'mode' field from musb_config as they are now getting updated by the values provided from board files at usb_musb_init(). Signed-off-by: Ajay Kumar Gupta --- arch/arm/mach-omap2/usb-musb.c | 13 ------------- 1 files changed, 0 insertions(+), 13 deletions(-) diff --git a/arch/arm/mach-omap2/usb-musb.c b/arch/arm/mach-omap2/usb-musb.c index 33a5cde..03ddf64 100644 --- a/arch/arm/mach-omap2/usb-musb.c +++ b/arch/arm/mach-omap2/usb-musb.c @@ -54,21 +54,8 @@ static struct musb_hdrc_config musb_config = { }; static struct musb_hdrc_platform_data musb_plat = { -#ifdef CONFIG_USB_MUSB_OTG - .mode = MUSB_OTG, -#elif defined(CONFIG_USB_MUSB_HDRC_HCD) - .mode = MUSB_HOST, -#elif defined(CONFIG_USB_GADGET_MUSB_HDRC) - .mode = MUSB_PERIPHERAL, -#endif /* .clock is set dynamically */ .config = &musb_config, - - /* REVISIT charge pump on TWL4030 can supply up to - * 100 mA ... but this value is board-specific, like - * "mode", and should be passed to usb_musb_init(). - */ - .power = 50, /* up to 100 mA */ }; static u64 musb_dmamask = DMA_BIT_MASK(32);