Message ID | 1430186068-24511-1-git-send-email-shawn.guo@linaro.org |
---|---|
State | Accepted |
Commit | de8e434d09f253369621e994da1833703c5c51d6 |
Headers | show
Return-Path: <patchwork-forward+bncBCV3TM5A74DRB5WS7OUQKGQEKBMKMLQ@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f198.google.com (mail-wi0-f198.google.com [209.85.212.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id D9A3220553 for <linaro@patches.linaro.org>; Tue, 28 Apr 2015 01:59:18 +0000 (UTC) Received: by wixv7 with SMTP id v7sf2179146wix.0 for <linaro@patches.linaro.org>; Mon, 27 Apr 2015 18:59:18 -0700 (PDT) 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:cc :precedence:list-id:list-unsubscribe:list-archive:list-post :list-help:list-subscribe:mime-version:content-type :content-transfer-encoding:sender:errors-to:x-original-sender :x-original-authentication-results:mailing-list; bh=qKiW34LU7YfhbU21EBNfDP5CAd02KFoX1Sacyne84Rs=; b=axeIRNwy87v7qNwBRSBrn99RyEfwoM3I4AOyDDe7YSBBUG5WPrxiAq+h6EcDWSa+jC Nd3Xoonj3Tw7vVyHwqtauIb7qeSlkM+u0WvSAyM1ZBlI9XXT6HFbb0IMW37jJfNhPHUu aueyAXj+H62+HfEJIH6X1FvWkxeTnGv828XpujbG46sou88ZlhPLtzIwSH2cnsLrFphg d5Gqm/joirOpVWSzHb6Ha/+k7wIgRYdaaQErA25OjS1YC75mHudNWCt/AcPswIDF6T1k EGRYX4XaPvL8LLgk8EyNKPPIVjTSTDtBkfan6yv85s++VWdzp9vyDZhfbehkgeMG0UqR HUrw== X-Gm-Message-State: ALoCoQk1Pu6qyATFHOsVEPcuaM2/k81UolFF4gU8l8ZLKd4tJ9nwCxtydE4U2xQgFpEoYN+Qm44E X-Received: by 10.180.216.12 with SMTP id om12mr8734565wic.1.1430186358198; Mon, 27 Apr 2015 18:59:18 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.153.5.42 with SMTP id cj10ls13593lad.51.gmail; Mon, 27 Apr 2015 18:59:17 -0700 (PDT) X-Received: by 10.112.124.166 with SMTP id mj6mr12501373lbb.104.1430186357914; Mon, 27 Apr 2015 18:59:17 -0700 (PDT) Received: from mail-la0-f53.google.com (mail-la0-f53.google.com. [209.85.215.53]) by mx.google.com with ESMTPS id wr10si15991571lbb.20.2015.04.27.18.59.17 for <patchwork-forward@linaro.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 27 Apr 2015 18:59:17 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.53 as permitted sender) client-ip=209.85.215.53; Received: by lagv1 with SMTP id v1so93559969lag.3 for <patchwork-forward@linaro.org>; Mon, 27 Apr 2015 18:59:17 -0700 (PDT) X-Received: by 10.112.140.231 with SMTP id rj7mr12194988lbb.76.1430186357788; Mon, 27 Apr 2015 18:59:17 -0700 (PDT) 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.112.67.65 with SMTP id l1csp1606750lbt; Mon, 27 Apr 2015 18:59:16 -0700 (PDT) X-Received: by 10.66.192.74 with SMTP id he10mr27189768pac.145.1430186355994; Mon, 27 Apr 2015 18:59:15 -0700 (PDT) Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id ca15si32409517pdb.31.2015.04.27.18.59.15 for <patch@linaro.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 27 Apr 2015 18:59:15 -0700 (PDT) Received-SPF: none (google.com: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org does not designate permitted sender hosts) client-ip=2001:1868:205::9; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1YmumD-0003Zf-Vq; Tue, 28 Apr 2015 01:57:33 +0000 Received: from mail-pa0-f47.google.com ([209.85.220.47]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Ymum6-0003UA-0k for linux-arm-kernel@lists.infradead.org; Tue, 28 Apr 2015 01:57:27 +0000 Received: by pabsx10 with SMTP id sx10so148359488pab.3 for <linux-arm-kernel@lists.infradead.org>; Mon, 27 Apr 2015 18:57:04 -0700 (PDT) X-Received: by 10.68.69.81 with SMTP id c17mr1697957pbu.169.1430186224373; Mon, 27 Apr 2015 18:57:04 -0700 (PDT) Received: from localhost.localdomain ([104.207.83.1]) by mx.google.com with ESMTPSA id dk5sm20649568pdb.88.2015.04.27.18.57.02 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 27 Apr 2015 18:57:03 -0700 (PDT) From: Shawn Guo <shawn.guo@linaro.org> To: linux-arm-kernel@lists.infradead.org Subject: [PATCH] ARM: imx: drop epit timer initialization from imx35 clock driver Date: Tue, 28 Apr 2015 09:54:28 +0800 Message-Id: <1430186068-24511-1-git-send-email-shawn.guo@linaro.org> X-Mailer: git-send-email 1.9.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150427_185726_115020_11FBC223 X-CRM114-Status: UNSURE ( 9.66 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.9 (/) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-0.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.220.47 listed in list.dnswl.org] -0.2 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.220.47 listed in wl.mailspike.net] -0.0 SPF_PASS SPF: sender matches SPF record Cc: Shawn Guo <shawn.guo@linaro.org>, kernel@pengutronix.de X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: <patchwork-forward.linaro.org> List-Unsubscribe: <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com>, <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> 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=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.53 as permitted sender) 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 |
diff --git a/drivers/clk/imx/clk-imx35.c b/drivers/clk/imx/clk-imx35.c index 133fda1dcb25..f2f3b8164f7b 100644 --- a/drivers/clk/imx/clk-imx35.c +++ b/drivers/clk/imx/clk-imx35.c @@ -293,11 +293,7 @@ int __init mx35_clocks_init(void) imx_print_silicon_rev("i.MX35", mx35_revision()); -#ifdef CONFIG_MXC_USE_EPIT - epit_timer_init(MX35_IO_ADDRESS(MX35_EPIT1_BASE_ADDR), MX35_INT_EPIT1); -#else mxc_timer_init(MX35_GPT1_BASE_ADDR, MX35_INT_GPT); -#endif return 0; }
EPIT provides another timer implementation besides the default GPT timer. The imx35 clock driver will use EPIT timer when option CONFIG_MXC_USE_EPIT is enabled. However, initializing timers from clock driver is a workaround solution and causes problem when we move clock drivers into driver/clk. Let's simply drop the EPIT initialization from there. If people really want this EPIT option, EPIT timer driver needs to be reworked to do the initialization in a standard way - use CLOCKSOURCE_OF_DECLARE() with device tree support. Reported-by: kbuild test robot <fengguang.wu@intel.com> Signed-off-by: Shawn Guo <shawn.guo@linaro.org> --- drivers/clk/imx/clk-imx35.c | 4 ---- 1 file changed, 4 deletions(-)