From patchwork Thu Feb 20 11:40:07 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roger Quadros X-Patchwork-Id: 25046 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pa0-f70.google.com (mail-pa0-f70.google.com [209.85.220.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id B5B5C203C6 for ; Thu, 20 Feb 2014 11:45:41 +0000 (UTC) Received: by mail-pa0-f70.google.com with SMTP id kq14sf4487493pab.5 for ; Thu, 20 Feb 2014 03:45:40 -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=MFAQrURbjGRRAPzRuE7OQMVZ/RT2Y01qBfuGa7DnF0T43dtS2MR8vY3v41NLateAZ2 YQDjECWfsf4WWcwROgGihHPJEBKi7djGdadG9NCvQyk1NgxQs5pySQ7PqJdivXtFxoZJ a5jprBjerbcufNo9vlViHFxlW+IXcsxXLFyL0qDAVISLm0hxP1TidEFWlLq0U4XoHcCs OAMQwYTCAMpYnRMq9PMAVVEpd0M6sQFrvM2mAnHdsusUGY58sqj8wHKAD1SNj4OJSRb4 AYRp3gqmcYPltfWHvrOplsH1rhtYN/7ezpcAt7sYyV5driIwlmRvhvimh/hbmp9PwtHF nv8Q== X-Gm-Message-State: ALoCoQk9Nm44OG9RStVq6z3hNhXVkSzn/ATecetAZJ0jflO/BtC3OvxqV13XJs71J4jYfloldJfw X-Received: by 10.68.134.233 with SMTP id pn9mr556015pbb.5.1392896740716; Thu, 20 Feb 2014 03:45:40 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.102.49 with SMTP id v46ls512151qge.6.gmail; Thu, 20 Feb 2014 03:45:40 -0800 (PST) X-Received: by 10.221.22.71 with SMTP id qv7mr768731vcb.34.1392896740487; Thu, 20 Feb 2014 03:45:40 -0800 (PST) Received: from mail-vc0-f174.google.com (mail-vc0-f174.google.com [209.85.220.174]) by mx.google.com with ESMTPS id yv5si1348251veb.102.2014.02.20.03.45.40 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 20 Feb 2014 03:45:40 -0800 (PST) Received-SPF: neutral (google.com: 209.85.220.174 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.174; Received: by mail-vc0-f174.google.com with SMTP id im17so1758359vcb.19 for ; Thu, 20 Feb 2014 03:45:40 -0800 (PST) X-Received: by 10.52.107.35 with SMTP id gz3mr639386vdb.8.1392896740396; Thu, 20 Feb 2014 03:45:40 -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 u4csp51990vcz; Thu, 20 Feb 2014 03:45:39 -0800 (PST) X-Received: by 10.68.134.130 with SMTP id pk2mr1330377pbb.167.1392896739419; Thu, 20 Feb 2014 03:45:39 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id mo4si3156822pbc.291.2014.02.20.03.45.38; Thu, 20 Feb 2014 03:45:38 -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 S1754418AbaBTLp3 (ORCPT + 26 others); Thu, 20 Feb 2014 06:45:29 -0500 Received: from arroyo.ext.ti.com ([192.94.94.40]:52963 "EHLO arroyo.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753552AbaBTLlV (ORCPT ); Thu, 20 Feb 2014 06:41:21 -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 s1KBevJ0019137; Thu, 20 Feb 2014 05:40:57 -0600 Received: from DLEE70.ent.ti.com (dlee70.ent.ti.com [157.170.170.113]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id s1KBev7F023407; Thu, 20 Feb 2014 05:40:57 -0600 Received: from dflp33.itg.ti.com (10.64.6.16) by DLEE70.ent.ti.com (157.170.170.113) with Microsoft SMTP Server id 14.3.174.1; Thu, 20 Feb 2014 05:40:56 -0600 Received: from localhost.localdomain (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp33.itg.ti.com (8.14.3/8.13.8) with ESMTP id s1KBeDwf007718; Thu, 20 Feb 2014 05:40:54 -0600 From: Roger Quadros To: , , CC: , , , , , , , , Roger Quadros Subject: [PATCH v8 12/14] ARM: OMAP2+: Remove legacy_init_ehci_clk() Date: Thu, 20 Feb 2014 13:40:07 +0200 Message-ID: <1392896409-5101-13-git-send-email-rogerq@ti.com> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1392896409-5101-1-git-send-email-rogerq@ti.com> References: <1392896409-5101-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.174 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