From patchwork Wed Feb 12 10:18:51 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roger Quadros X-Patchwork-Id: 24530 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pb0-f72.google.com (mail-pb0-f72.google.com [209.85.160.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 06DE2203F3 for ; Wed, 12 Feb 2014 10:20:53 +0000 (UTC) Received: by mail-pb0-f72.google.com with SMTP id up15sf19524213pbc.11 for ; Wed, 12 Feb 2014 02:20:53 -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=EtDEhsjk4QQedqVe3eMNB4nmRJ6StRTtEgz75iE+vHk=; b=lxMbalE8CCsk023cIObQDCObM3s8VjJmURJ4+5RUGaRpM1Qp15tnobdhIpzocAaYvM ii/QGD05R8eN+yUcXRYzc46pzclChgLM4uJcZXAfT+a2ICyByI2/C5Vmd//QlMJ959Hl cpNX5YC3evc10Kd6+gvMLhRMy+HVNIdgRzXFD9Erxh8nbHUN94o2K68FB1ktuNmbEpzj +0lNrlPgiYjROxT0pM+tM72Fr97wyORI6NyiZVq0GUQR/Yahac53tHcxF9P7P9JNL1eL Jk4eVhY2EATJyaP8q5/uMKK8wFXf1Ao4TEwKoE4EzLwDWOWz8QmzerlEu21m0gCVIAdg t29A== X-Gm-Message-State: ALoCoQnTsPbuhROY5tYUcPb+iK2dLrobZhMrvoqYoWPPbnfefAHQsEWQ2N52pjpoPQ7PkeWKfMT/ X-Received: by 10.66.66.196 with SMTP id h4mr1371311pat.22.1392200453183; Wed, 12 Feb 2014 02:20:53 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.81.20 with SMTP id e20ls1082131qgd.58.gmail; Wed, 12 Feb 2014 02:20:53 -0800 (PST) X-Received: by 10.53.13.44 with SMTP id ev12mr27205056vdd.17.1392200453034; Wed, 12 Feb 2014 02:20:53 -0800 (PST) Received: from mail-vc0-f178.google.com (mail-vc0-f178.google.com [209.85.220.178]) by mx.google.com with ESMTPS id e9si7133915vct.109.2014.02.12.02.20.53 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 12 Feb 2014 02:20:53 -0800 (PST) Received-SPF: neutral (google.com: 209.85.220.178 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.178; Received: by mail-vc0-f178.google.com with SMTP id ik5so7054260vcb.9 for ; Wed, 12 Feb 2014 02:20:53 -0800 (PST) X-Received: by 10.220.103.141 with SMTP id k13mr608040vco.25.1392200452940; Wed, 12 Feb 2014 02:20:52 -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.220.174.196 with SMTP id u4csp25450vcz; Wed, 12 Feb 2014 02:20:52 -0800 (PST) X-Received: by 10.68.227.36 with SMTP id rx4mr16253497pbc.164.1392200452038; Wed, 12 Feb 2014 02:20:52 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id zk9si22237169pac.86.2014.02.12.02.20.51; Wed, 12 Feb 2014 02:20:51 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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 S1752931AbaBLKUT (ORCPT + 27 others); Wed, 12 Feb 2014 05:20:19 -0500 Received: from arroyo.ext.ti.com ([192.94.94.40]:35450 "EHLO arroyo.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752861AbaBLKUJ (ORCPT ); Wed, 12 Feb 2014 05:20:09 -0500 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by arroyo.ext.ti.com (8.13.7/8.13.7) with ESMTP id s1CAJmoh008774; Wed, 12 Feb 2014 04:19:48 -0600 Received: from DLEE71.ent.ti.com (dlee71.ent.ti.com [157.170.170.114]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id s1CAJmbs032080; Wed, 12 Feb 2014 04:19:48 -0600 Received: from dlep33.itg.ti.com (157.170.170.75) by DLEE71.ent.ti.com (157.170.170.114) with Microsoft SMTP Server id 14.2.342.3; Wed, 12 Feb 2014 04:19:47 -0600 Received: from localhost.localdomain (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id s1CAJApg013932; Wed, 12 Feb 2014 04:19:45 -0600 From: Roger Quadros To: , , CC: , , , , , , , , Roger Quadros Subject: [PATCH v7 10/12] ARM: OMAP2+: Remove legacy_init_ehci_clk() Date: Wed, 12 Feb 2014 12:18:51 +0200 Message-ID: <1392200333-28397-11-git-send-email-rogerq@ti.com> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1392200333-28397-1-git-send-email-rogerq@ti.com> References: <1392200333-28397-1-git-send-email-rogerq@ti.com> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@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.220.178 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 3d5b24d..f1ecd86 100644 --- a/arch/arm/mach-omap2/pdata-quirks.c +++ b/arch/arm/mach-omap2/pdata-quirks.c @@ -31,20 +31,6 @@ struct pdata_init { struct of_dev_auxdata omap_auxdata_lookup[]; static struct twl4030_gpio_platform_data twl_gpio_auxdata; -/* - * 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; @@ -182,7 +168,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 @@ -190,7 +175,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