From patchwork Mon Jan 20 14:11:31 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roger Quadros X-Patchwork-Id: 23397 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-yh0-f70.google.com (mail-yh0-f70.google.com [209.85.213.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id AD9072107B for ; Mon, 20 Jan 2014 14:13:39 +0000 (UTC) Received: by mail-yh0-f70.google.com with SMTP id l109sf13543251yhq.9 for ; Mon, 20 Jan 2014 06:13:38 -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=5SFMnZxqeHAqdW0cVvX/GFf3wKE+BsKKC5iviugCOQw=; b=X5a1IH+dVDsrx6/W+KUXq4w4oK1dkdX1F/0CzIFi2KOmx5bldgC2Od2D1B6NZT9aAW Eqx8lqtf5xsvO7prZiD79DLmCFKpo4LJn/CdQx32VHOnNncgX+7rzK2bE5DQ6dwjyZBp vResQmeOoubw3faY0xggYFbue3SmdL1i/Sb30fgk0mh5be/xCHgAl2we8hpcOjdaMEwE Y0F9iQJ8Y63fy3lxm43CZX2RhzyvGndnaurUHvCG9qvl3RNEPtMoUVNZc5bvBPVBgpbe dSdSTuONoovAv3DP3vgIUuRfjgzGp8smDtFwzcxf3k07D5L4zEKz8mD9/E2c9ZUwppUj 2tjA== X-Gm-Message-State: ALoCoQn0L2kOMWaxy3PM25FksucS41F2aVrzJE047xBIPFbATL3HE/1mUxwvAM18tUmoDMI00mD3 X-Received: by 10.58.189.73 with SMTP id gg9mr973661vec.34.1390227218934; Mon, 20 Jan 2014 06:13:38 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.15.105 with SMTP id w9ls129237qec.9.gmail; Mon, 20 Jan 2014 06:13:38 -0800 (PST) X-Received: by 10.58.180.227 with SMTP id dr3mr92428vec.36.1390227218820; Mon, 20 Jan 2014 06:13:38 -0800 (PST) Received: from mail-vc0-f177.google.com (mail-vc0-f177.google.com [209.85.220.177]) by mx.google.com with ESMTPS id vd4si378700vdc.91.2014.01.20.06.13.38 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 20 Jan 2014 06:13:38 -0800 (PST) Received-SPF: neutral (google.com: 209.85.220.177 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.177; Received: by mail-vc0-f177.google.com with SMTP id if11so2800528vcb.36 for ; Mon, 20 Jan 2014 06:13:38 -0800 (PST) X-Received: by 10.58.69.20 with SMTP id a20mr10984529veu.0.1390227218734; Mon, 20 Jan 2014 06:13:38 -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 u4csp59835vcz; Mon, 20 Jan 2014 06:13:37 -0800 (PST) X-Received: by 10.66.139.196 with SMTP id ra4mr18959016pab.103.1390227217548; Mon, 20 Jan 2014 06:13:37 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id yd9si1627525pab.205.2014.01.20.06.13.36; Mon, 20 Jan 2014 06:13:36 -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 S1754038AbaATON3 (ORCPT + 26 others); Mon, 20 Jan 2014 09:13:29 -0500 Received: from arroyo.ext.ti.com ([192.94.94.40]:46766 "EHLO arroyo.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753982AbaATOMv (ORCPT ); Mon, 20 Jan 2014 09:12:51 -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 s0KECIE7007186; Mon, 20 Jan 2014 08:12:18 -0600 Received: from DLEE70.ent.ti.com (dlemailx.itg.ti.com [157.170.170.113]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id s0KECIPa029481; Mon, 20 Jan 2014 08:12:18 -0600 Received: from dlep33.itg.ti.com (157.170.170.75) by DLEE70.ent.ti.com (157.170.170.113) with Microsoft SMTP Server id 14.2.342.3; Mon, 20 Jan 2014 08:12:18 -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 s0KEBZPS005336; Mon, 20 Jan 2014 08:12:15 -0600 From: Roger Quadros To: , CC: , , , , , , , , , , , Roger Quadros Subject: [PATCH v6 10/10] ARM: OMAP2+: Remove legacy_init_ehci_clk() Date: Mon, 20 Jan 2014 16:11:31 +0200 Message-ID: <1390227091-4523-11-git-send-email-rogerq@ti.com> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1390227091-4523-1-git-send-email-rogerq@ti.com> References: <1390227091-4523-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.177 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