From patchwork Fri May 22 15:29:58 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shawn Guo X-Patchwork-Id: 48906 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f71.google.com (mail-wg0-f71.google.com [74.125.82.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 2C92721411 for ; Fri, 22 May 2015 15:48:51 +0000 (UTC) Received: by wgbgf7 with SMTP id gf7sf6356038wgb.2 for ; Fri, 22 May 2015 08:48:50 -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 :in-reply-to:references: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=wVDwBPSTyB9p5sEC7451YmTSNc02apC/WpWfyvoeb4U=; b=PIpnt7Jho2Q442opSoosDDYAn/wfhrbvFhkGTNEutGK4qyZWvVr2Wy3NhCeisHBRio 08LKHNwOmOFQyDn45MFFErHCHhu5q3MOqY2ujI2OP34a/B88hDAF/sH6NivIpsT7b16g ZseBKNa9r2YFX3zLEFwGVrfv98tKcMbmZvq2ZQhIQa9uw5JPG8DOddLQPLW4M8KYDE7l XAvJ+Zx4XbzYz4vqIY8ZDugwpn6AoIanpcFs2NBLjxWEevGKc/tuoP5OKIZP41fJFvDz pkiQjlUx7aThKCr1/NJlD2SpXZfl1gQHEcIwhHz94Gz4aHyPYiVPQifpDYdspizEi+GD JrZA== X-Gm-Message-State: ALoCoQnCVL8rAKOJnb1gCsufRyDf1CUkez8qohXhgv6ZDWA7a24kRfCE3r6WQjadoG1XFN/7BTWI X-Received: by 10.112.118.162 with SMTP id kn2mr8335211lbb.22.1432309730452; Fri, 22 May 2015 08:48:50 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.36.101 with SMTP id p5ls571780laj.53.gmail; Fri, 22 May 2015 08:48:50 -0700 (PDT) X-Received: by 10.153.7.104 with SMTP id db8mr7077580lad.124.1432309730300; Fri, 22 May 2015 08:48:50 -0700 (PDT) Received: from mail-la0-f44.google.com (mail-la0-f44.google.com. [209.85.215.44]) by mx.google.com with ESMTPS id lb7si1642910lac.89.2015.05.22.08.48.50 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 22 May 2015 08:48:50 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.44 as permitted sender) client-ip=209.85.215.44; Received: by lami4 with SMTP id i4so15493348lam.0 for ; Fri, 22 May 2015 08:48:50 -0700 (PDT) X-Received: by 10.152.7.7 with SMTP id f7mr7062620laa.106.1432309730158; Fri, 22 May 2015 08:48:50 -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.108.230 with SMTP id hn6csp1504428lbb; Fri, 22 May 2015 08:48:49 -0700 (PDT) X-Received: by 10.68.221.6 with SMTP id qa6mr16798767pbc.62.1432309292211; Fri, 22 May 2015 08:41:32 -0700 (PDT) Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id w10si3971763pas.70.2015.05.22.08.41.31 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 22 May 2015 08:41:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org designates 2001:1868:205::9 as permitted sender) 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 1Yvp2E-0003wt-Cn; Fri, 22 May 2015 15:38:54 +0000 Received: from mail-pa0-f49.google.com ([209.85.220.49]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Yvow6-0006lm-Kx for linux-arm-kernel@lists.infradead.org; Fri, 22 May 2015 15:32:35 +0000 Received: by padbw4 with SMTP id bw4so22464983pad.0 for ; Fri, 22 May 2015 08:32:15 -0700 (PDT) X-Received: by 10.68.215.97 with SMTP id oh1mr16569854pbc.88.1432308735152; Fri, 22 May 2015 08:32:15 -0700 (PDT) Received: from localhost.localdomain ([107.6.117.178]) by mx.google.com with ESMTPSA id as1sm2474485pbc.39.2015.05.22.08.32.10 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 22 May 2015 08:32:14 -0700 (PDT) From: Shawn Guo To: linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 11/12] ARM: imx: remove platform headers from timer driver Date: Fri, 22 May 2015 23:29:58 +0800 Message-Id: <1432308599-28643-12-git-send-email-shawn.guo@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1432308599-28643-1-git-send-email-shawn.guo@linaro.org> References: <1432308599-28643-1-git-send-email-shawn.guo@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150522_083234_747052_140132DB X-CRM114-Status: UNSURE ( 7.80 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.7 (/) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-0.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.220.49 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [209.85.220.49 listed in wl.mailspike.net] -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders Cc: Shawn Guo , Daniel Lezcano , Arnd Bergmann , kernel@pengutronix.de, Shenwei Wang X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 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=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.44 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 With the cleanup done before, the platform specific headers now can be removed. Signed-off-by: Shawn Guo --- arch/arm/mach-imx/time.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/arch/arm/mach-imx/time.c b/arch/arm/mach-imx/time.c index 5fb8397d8fe2..ec144ce9f880 100644 --- a/arch/arm/mach-imx/time.c +++ b/arch/arm/mach-imx/time.c @@ -36,9 +36,6 @@ #include -#include "common.h" -#include "hardware.h" - /* * There are 4 versions of the timer hardware on Freescale MXC hardware. * - MX1/MXL @@ -80,9 +77,6 @@ #define V2_TIMER_RATE_OSC_DIV8 3000000 -#define timer_is_v1() (cpu_is_mx1() || cpu_is_mx21() || cpu_is_mx27()) -#define timer_is_v2() (!timer_is_v1()) - struct imx_timer { enum imx_gpt_type type; void __iomem *base;