From patchwork Thu Aug 4 18:02:23 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjarne Steinsbo X-Patchwork-Id: 1036642 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.4) with ESMTP id p74I2PcM025730 for ; Thu, 4 Aug 2011 18:02:25 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755258Ab1HDSCY (ORCPT ); Thu, 4 Aug 2011 14:02:24 -0400 Received: from mail-vw0-f46.google.com ([209.85.212.46]:65101 "EHLO mail-vw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751856Ab1HDSCY (ORCPT ); Thu, 4 Aug 2011 14:02:24 -0400 Received: by mail-vw0-f46.google.com with SMTP id 1so1319292vws.19 for ; Thu, 04 Aug 2011 11:02:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=bF1d2jKrog1Br7znUe747U2UP1QWxG8qrYdjtIKeQmk=; b=ZaXFmKVOBK7874o1fB1+NsUhYW3e4KZlcWCsOQQJUwxaOekDlC6uJOoTFCRLyLM4xO IS8xa7Gfw5JxWuMH8TKtStLJZGEYc4mOci3SvUN/Rj/HSIBakPp1smccjKJD6wOPqmUb 6ITqqcEEAuVea7GZppz4GtSxg5bzjC6C0fPKk= MIME-Version: 1.0 Received: by 10.52.28.65 with SMTP id z1mr1247239vdg.172.1312480943853; Thu, 04 Aug 2011 11:02:23 -0700 (PDT) Received: by 10.220.1.196 with HTTP; Thu, 4 Aug 2011 11:02:23 -0700 (PDT) Date: Thu, 4 Aug 2011 20:02:23 +0200 Message-ID: Subject: [PATCH 4/4] usb: musb: OMAP: Delete unused function From: Bjarne Steinsbo To: linux-omap@vger.kernel.org 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 (demeter1.kernel.org [140.211.167.41]); Thu, 04 Aug 2011 18:02:25 +0000 (UTC) Not in use anymore. --- arch/arm/mach-omap2/usb-musb.c | 38 -------------------------------------- 1 files changed, 0 insertions(+), 38 deletions(-) diff --git a/arch/arm/mach-omap2/usb-musb.c b/arch/arm/mach-omap2/usb-musb.c index 19e4dac..852d6e4 100644 --- a/arch/arm/mach-omap2/usb-musb.c +++ b/arch/arm/mach-omap2/usb-musb.c @@ -68,44 +68,6 @@ static struct omap_device_pm_latency omap_musb_latency[] = { }, }; -static void usb_musb_mux_init(struct omap_musb_board_data *board_data) -{ - switch (board_data->interface_type) { - case MUSB_INTERFACE_UTMI: - omap_mux_init_signal("usba0_otg_dp", OMAP_PIN_INPUT); - omap_mux_init_signal("usba0_otg_dm", OMAP_PIN_INPUT); - break; - case MUSB_INTERFACE_ULPI: - omap_mux_init_signal("usba0_ulpiphy_clk", - OMAP_PIN_INPUT_PULLDOWN); - omap_mux_init_signal("usba0_ulpiphy_stp", - OMAP_PIN_INPUT_PULLDOWN); - omap_mux_init_signal("usba0_ulpiphy_dir", - OMAP_PIN_INPUT_PULLDOWN); - omap_mux_init_signal("usba0_ulpiphy_nxt", - OMAP_PIN_INPUT_PULLDOWN); - omap_mux_init_signal("usba0_ulpiphy_dat0", - OMAP_PIN_INPUT_PULLDOWN); - omap_mux_init_signal("usba0_ulpiphy_dat1", - OMAP_PIN_INPUT_PULLDOWN); - omap_mux_init_signal("usba0_ulpiphy_dat2", - OMAP_PIN_INPUT_PULLDOWN); - omap_mux_init_signal("usba0_ulpiphy_dat3", - OMAP_PIN_INPUT_PULLDOWN); - omap_mux_init_signal("usba0_ulpiphy_dat4", - OMAP_PIN_INPUT_PULLDOWN); - omap_mux_init_signal("usba0_ulpiphy_dat5", - OMAP_PIN_INPUT_PULLDOWN); - omap_mux_init_signal("usba0_ulpiphy_dat6", - OMAP_PIN_INPUT_PULLDOWN); - omap_mux_init_signal("usba0_ulpiphy_dat7", - OMAP_PIN_INPUT_PULLDOWN); - break; - default: - break; - } -} - static struct omap_musb_board_data musb_default_board_data = { .interface_type = MUSB_INTERFACE_ULPI, .mode = MUSB_OTG,