From patchwork Thu Feb 6 04:14:05 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shawn Guo X-Patchwork-Id: 24235 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ie0-f198.google.com (mail-ie0-f198.google.com [209.85.223.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id AD3C920675 for ; Thu, 6 Feb 2014 04:15:00 +0000 (UTC) Received: by mail-ie0-f198.google.com with SMTP id ar20sf1869799iec.9 for ; Wed, 05 Feb 2014 20:14:59 -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:subject:date:message-id :mime-version:cc:precedence:list-id:list-unsubscribe:list-archive :list-post:list-help:list-subscribe:sender:errors-to :x-original-sender:x-original-authentication-results:mailing-list :content-type:content-transfer-encoding; bh=0+YgIDmd2/3SZFnCZtb7tq9r+XkxqaUEVWcDgAYi72M=; b=RbsM4rpRgMNd6mRHB9sPKHeK/3kEqABWG1iyAZM6DkiLK1Hjil3ARauenxifVaGpkz zLYcxv0TetQwU/DyE0gne14eu3M/p6qXHQGr0nayRa1lCagjoOTgdkwlCtfvyCVKpPtz 3eSApscRP8MNAd6GuPeAHXWHLF2DufrjMAB6kRUkfnVqk1+8kMSrGua4xUltU9jyrk/E 5VYXaqeliiwglo8LBYhBj6UHsGwOg0diBa2RKo77CxdX3bEiVAHKLDLKsTutdk3zL9Yb gNxp9CcUfFM2Bsth/c+ywP1sZ0rCvKgjfFyFbQD/XjPHg3gOMWOKn+xd2zSRw1o5Cd6u z2cw== X-Gm-Message-State: ALoCoQmQt/0HdrPMB79NmgMyH5cCp8In/u+P3x4BQoQDTi4t1zeTaehJq8ZCAVjKbFdOIMazj14/ X-Received: by 10.182.98.230 with SMTP id el6mr2494070obb.10.1391660099427; Wed, 05 Feb 2014 20:14:59 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.98.161 with SMTP id o30ls444281qge.98.gmail; Wed, 05 Feb 2014 20:14:59 -0800 (PST) X-Received: by 10.53.13.44 with SMTP id ev12mr3258579vdd.17.1391660099289; Wed, 05 Feb 2014 20:14:59 -0800 (PST) Received: from mail-ve0-f170.google.com (mail-ve0-f170.google.com [209.85.128.170]) by mx.google.com with ESMTPS id a8si5383734vej.55.2014.02.05.20.14.59 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 05 Feb 2014 20:14:59 -0800 (PST) Received-SPF: neutral (google.com: 209.85.128.170 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.170; Received: by mail-ve0-f170.google.com with SMTP id cz12so1095738veb.29 for ; Wed, 05 Feb 2014 20:14:59 -0800 (PST) X-Received: by 10.52.110.201 with SMTP id ic9mr3281458vdb.22.1391660098881; Wed, 05 Feb 2014 20:14:58 -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 u4csp107414vcz; Wed, 5 Feb 2014 20:14:58 -0800 (PST) X-Received: by 10.181.12.16 with SMTP id em16mr441674wid.3.1391660097673; Wed, 05 Feb 2014 20:14:57 -0800 (PST) Received: from casper.infradead.org (casper.infradead.org. [2001:770:15f::2]) by mx.google.com with ESMTPS id w2si10646485wiz.57.2014.02.05.20.14.57 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 05 Feb 2014 20:14:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org designates 2001:770:15f::2 as permitted sender) client-ip=2001:770:15f::2; Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WBGMB-0003jc-O6; Thu, 06 Feb 2014 04:14:31 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WBGM9-0001u2-GV; Thu, 06 Feb 2014 04:14:29 +0000 Received: from am1ehsobe004.messaging.microsoft.com ([213.199.154.207] helo=am1outboundpool.messaging.microsoft.com) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WBGM6-0001ti-Km for linux-arm-kernel@lists.infradead.org; Thu, 06 Feb 2014 04:14:27 +0000 Received: from mail50-am1-R.bigfish.com (10.3.201.250) by AM1EHSOBE016.bigfish.com (10.3.207.138) with Microsoft SMTP Server id 14.1.225.22; Thu, 6 Feb 2014 04:14:04 +0000 Received: from mail50-am1 (localhost [127.0.0.1]) by mail50-am1-R.bigfish.com (Postfix) with ESMTP id C716D3E0553; Thu, 6 Feb 2014 04:14:03 +0000 (UTC) X-Forefront-Antispam-Report: CIP:70.37.183.190; KIP:(null); UIP:(null); IPV:NLI; H:mail.freescale.net; RD:none; EFVD:NLI X-SpamScore: 3 X-BigFish: VS3(zcb8kzzz1f42h2148h208ch1ee6h1de0h1fdah2073h2146h1202h1e76h2189h1d1ah1d2ah21bch1fc6hzz1de098h8275dh1de097hz2dh87h2a8h839hd24he5bhf0ah1288h12a5h12a9h12bdh12e5h137ah139eh13b6h1441h1504h1537h162dh1631h1758h1898h18e1h1946h19b5h1ad9h1b0ah1b2fh2222h224fh1fb3h1d0ch1d2eh1d3fh1dc1h1dfeh1dffh1e23h1fe8h1ff5h2218h2216h226dh22d0h24afh2327h2336h2438h2461h2487h24d7h2516h2545h1151h1155h) X-FB-DOMAIN-IP-MATCH: fail Received: from mail50-am1 (localhost.localdomain [127.0.0.1]) by mail50-am1 (MessageSwitch) id 1391660041882165_6473; Thu, 6 Feb 2014 04:14:01 +0000 (UTC) Received: from AM1EHSMHS005.bigfish.com (unknown [10.3.201.244]) by mail50-am1.bigfish.com (Postfix) with ESMTP id D325B2C008D; Thu, 6 Feb 2014 04:14:01 +0000 (UTC) Received: from mail.freescale.net (70.37.183.190) by AM1EHSMHS005.bigfish.com (10.3.207.105) with Microsoft SMTP Server (TLS) id 14.16.227.3; Thu, 6 Feb 2014 04:14:01 +0000 Received: from tx30smr01.am.freescale.net (10.81.153.31) by 039-SN1MMR1-002.039d.mgd.msft.net (10.84.1.15) with Microsoft SMTP Server (TLS) id 14.3.158.2; Thu, 6 Feb 2014 04:13:59 +0000 Received: from S2101-09.ap.freescale.net ([10.192.185.222]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id s164Dt5u012941; Wed, 5 Feb 2014 21:13:57 -0700 From: Shawn Guo To: Subject: [PATCH] ARM: imx6q: remove unneeded clk lookups Date: Thu, 6 Feb 2014 12:14:05 +0800 Message-ID: <1391660045-10572-1-git-send-email-shawn.guo@linaro.org> X-Mailer: git-send-email 1.7.9.5 MIME-Version: 1.0 X-OriginatorOrg: sigmatel.com X-FOPE-CONNECTOR: Id%0$Dn%*$RO%0$TLS%0$FQDN%$TlsDn% X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140205_231426_788314_46841C02 X-CRM114-Status: UNSURE ( 7.17 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.9 (-) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-1.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [213.199.154.207 listed in list.dnswl.org] 0.7 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: Shawn Guo , kernel@pengutronix.de X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: shawn.guo@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.170 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 Since commit (a94f8ec ARM: imx6q: remove board specific CLKO setup), a number of clk lookups in imx6q clock driver is no longer needed. Let's remove them. The cpu0 lookup is also removed since we are now running imx6 cpufreq driver and looking up clocks from device tree. Signed-off-by: Shawn Guo --- arch/arm/mach-imx/clk-imx6q.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/arch/arm/mach-imx/clk-imx6q.c b/arch/arm/mach-imx/clk-imx6q.c index af2e582..dd4f1e3 100644 --- a/arch/arm/mach-imx/clk-imx6q.c +++ b/arch/arm/mach-imx/clk-imx6q.c @@ -437,12 +437,6 @@ static void __init imx6q_clocks_init(struct device_node *ccm_node) clk_register_clkdev(clk[gpt_ipg], "ipg", "imx-gpt.0"); clk_register_clkdev(clk[gpt_ipg_per], "per", "imx-gpt.0"); - clk_register_clkdev(clk[cko1_sel], "cko1_sel", NULL); - clk_register_clkdev(clk[ahb], "ahb", NULL); - clk_register_clkdev(clk[cko1], "cko1", NULL); - clk_register_clkdev(clk[arm], NULL, "cpu0"); - clk_register_clkdev(clk[pll4_post_div], "pll4_post_div", NULL); - clk_register_clkdev(clk[pll4_audio], "pll4_audio", NULL); if ((imx_get_soc_revision() != IMX_CHIP_REVISION_1_0) || cpu_is_imx6dl()) {