From patchwork Thu Jan 9 12:08:23 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roger Quadros X-Patchwork-Id: 23011 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-oa0-f71.google.com (mail-oa0-f71.google.com [209.85.219.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 7BFA7202E2 for ; Thu, 9 Jan 2014 12:10:11 +0000 (UTC) Received: by mail-oa0-f71.google.com with SMTP id i4sf2110047oah.6 for ; Thu, 09 Jan 2014 04:10:10 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe:content-type; bh=qCajHpe5yhjqg+aLZoQeGfVBjbu+6FunWxStCAkuqKI=; b=bJDfEVTMH8GbLi/0zXW3Zpdexr8pCYsMRQ7EesackQwjOCncf4pk0ESQiaB0REvvaB WTUEkd9gtmdA4h/0nqJH3KItUoQjde8Z3emcVo1j9/n6oSaabghHr7AusbncZ8HEggWw iCBglETX9fRg80QQJfdD6UUUv3StQRIFIPAUxco3UnZrbOO98yatp1ybKkhmV0Mb7cKJ yuKZc4pGnfoL9d5Zq7AmUtXSvGTrl35ReMrkdYM3/Apx9Ru0YOzTT32W6xFFtyr4ZWNe 33KpS66ZFrYFAEjXKvt36+QRg2FOL6zrThPwxIEnYTgCtPFFm0ub4TKzw82ktqTmBmOy uK/g== X-Gm-Message-State: ALoCoQm/OGzyjZkB2UiIjMPeb7A1Nb9JLvj8eDz7xrrfgyu5sICpgDnnIsX8B7ZUaN2BQRWkB7pD X-Received: by 10.182.89.231 with SMTP id br7mr1063689obb.0.1389269410583; Thu, 09 Jan 2014 04:10:10 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.71.142 with SMTP id v14ls955583qeu.35.gmail; Thu, 09 Jan 2014 04:10:10 -0800 (PST) X-Received: by 10.58.235.129 with SMTP id um1mr1922010vec.17.1389269410508; Thu, 09 Jan 2014 04:10:10 -0800 (PST) Received: from mail-ve0-f171.google.com (mail-ve0-f171.google.com [209.85.128.171]) by mx.google.com with ESMTPS id x5si2737152veb.73.2014.01.09.04.10.10 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 09 Jan 2014 04:10:10 -0800 (PST) Received-SPF: neutral (google.com: 209.85.128.171 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.171; Received: by mail-ve0-f171.google.com with SMTP id pa12so2290318veb.30 for ; Thu, 09 Jan 2014 04:10:10 -0800 (PST) X-Received: by 10.52.227.233 with SMTP id sd9mr1086959vdc.53.1389269410380; Thu, 09 Jan 2014 04:10:10 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.59.13.131 with SMTP id ey3csp7943ved; Thu, 9 Jan 2014 04:10:09 -0800 (PST) X-Received: by 10.66.163.164 with SMTP id yj4mr3189843pab.91.1389269408974; Thu, 09 Jan 2014 04:10:08 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s7si3787674pae.11.2014.01.09.04.10.08; Thu, 09 Jan 2014 04:10:08 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-usb-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754716AbaAIMJ6 (ORCPT + 3 others); Thu, 9 Jan 2014 07:09:58 -0500 Received: from comal.ext.ti.com ([198.47.26.152]:34052 "EHLO comal.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754498AbaAIMJt (ORCPT ); Thu, 9 Jan 2014 07:09:49 -0500 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by comal.ext.ti.com (8.13.7/8.13.7) with ESMTP id s09C9HHF009779; Thu, 9 Jan 2014 06:09:17 -0600 Received: from DLEE71.ent.ti.com (dlee71.ent.ti.com [157.170.170.114]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id s09C9Hd7013849; Thu, 9 Jan 2014 06:09:17 -0600 Received: from dflp32.itg.ti.com (10.64.6.15) by DLEE71.ent.ti.com (157.170.170.114) with Microsoft SMTP Server id 14.2.342.3; Thu, 9 Jan 2014 06:09:17 -0600 Received: from rockdesk.local.lan (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id s09C8P1E025536; Thu, 9 Jan 2014 06:09:13 -0600 From: Roger Quadros To: , CC: , , , , , , , , , , Roger Quadros Subject: [PATCH v5 9/9] ARM: OMAP2+: Remove legacy_init_ehci_clk() Date: Thu, 9 Jan 2014 17:38:23 +0530 Message-ID: <1389269303-30465-10-git-send-email-rogerq@ti.com> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1389269303-30465-1-git-send-email-rogerq@ti.com> References: <1389269303-30465-1-git-send-email-rogerq@ti.com> MIME-Version: 1.0 Sender: linux-usb-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-usb@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: rogerq@ti.com X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.171 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , The necessary clock phandle for the EHCI clock is now provided via device tree so we no longer need this legacy method. Signed-off-by: Roger Quadros --- arch/arm/mach-omap2/pdata-quirks.c | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/arch/arm/mach-omap2/pdata-quirks.c b/arch/arm/mach-omap2/pdata-quirks.c index 39f020c..6a4e2d1 100644 --- a/arch/arm/mach-omap2/pdata-quirks.c +++ b/arch/arm/mach-omap2/pdata-quirks.c @@ -26,20 +26,6 @@ struct pdata_init { void (*fn)(void); }; -/* - * Create alias for USB host PHY clock. - * Remove this when clock phandle can be provided via DT - */ -static void __init __used legacy_init_ehci_clk(char *clkname) -{ - int ret; - - ret = clk_add_alias("main_clk", NULL, clkname, NULL); - if (ret) - pr_err("%s:Failed to add main_clk alias to %s :%d\n", - __func__, clkname, ret); -} - #if IS_ENABLED(CONFIG_WL12XX) static struct wl12xx_platform_data wl12xx __initdata; @@ -105,7 +91,6 @@ static void __init omap4_sdp_legacy_init(void) static void __init omap4_panda_legacy_init(void) { omap4_panda_display_init_of(); - legacy_init_ehci_clk("auxclk3_ck"); legacy_init_wl12xx(WL12XX_REFCLOCK_38, 0, 53); } #endif @@ -113,7 +98,6 @@ static void __init omap4_panda_legacy_init(void) #ifdef CONFIG_SOC_OMAP5 static void __init omap5_uevm_legacy_init(void) { - legacy_init_ehci_clk("auxclk1_ck"); } #endif