From patchwork Sun Jun 22 08:34:50 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Shiyan X-Patchwork-Id: 362510 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2001:1868:205::9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4669D14001A for ; Sun, 22 Jun 2014 18:38:22 +1000 (EST) 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 1WydFH-00028a-Qi; Sun, 22 Jun 2014 08:35:27 +0000 Received: from smtp33.i.mail.ru ([94.100.177.93]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WydFE-00010Z-I7 for linux-arm-kernel@lists.infradead.org; Sun, 22 Jun 2014 08:35:25 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mail.ru; s=mail2; h=References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From; bh=59UrE7uWSzjYmQGS+7E8tr5lT3ycfEoZ0rO19lRoHf8=; b=D3lq0rBCSCKtfSxm7dRJMBGAF/imGGIfsVd9ag/YEJqc5Ah5botNqt0wuQUmAPzsZn+zhCCCzXwUVdhbrO47Uqnq3Jm0FnVuwD92MVcz+bGu6lQ7B/Akm6yzE489zMyxQRGNajVcZ69TP48pTKhNjDyTSG68Bx3bufqwHDvHxDE=; Received: from [5.18.98.7] (port=41335 helo=shc.zet) by smtp33.i.mail.ru with esmtpa (envelope-from ) id 1WydEp-0006Ww-0l; Sun, 22 Jun 2014 12:34:59 +0400 From: Alexander Shiyan To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 2/2] ARM: i.MX27 clk: Remove unused definitions Date: Sun, 22 Jun 2014 12:34:50 +0400 Message-Id: <1403426090-29806-2-git-send-email-shc_work@mail.ru> X-Mailer: git-send-email 1.8.5.5 In-Reply-To: <1403426090-29806-1-git-send-email-shc_work@mail.ru> References: <1403426090-29806-1-git-send-email-shc_work@mail.ru> X-Spam: Not detected X-Mras: Ok X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140622_013525_195550_CA907BB2 X-CRM114-Status: UNSURE ( 9.82 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.1 (/) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-0.1 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [94.100.177.93 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (shc_work[at]mail.ru) -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Cc: Alexander Shiyan , Sascha Hauer , Shawn Guo X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org List-Id: linux-imx-kernel.lists.patchwork.ozlabs.org This patch removes definitions which not used anywhere in the driver. Signed-off-by: Alexander Shiyan --- arch/arm/mach-imx/clk-imx27.c | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/arch/arm/mach-imx/clk-imx27.c b/arch/arm/mach-imx/clk-imx27.c index ef7001c..fcfb81b 100644 --- a/arch/arm/mach-imx/clk-imx27.c +++ b/arch/arm/mach-imx/clk-imx27.c @@ -18,36 +18,11 @@ static void __iomem *ccm __initdata; #define CCM_MPCTL1 (ccm + 0x08) #define CCM_SPCTL0 (ccm + 0x0c) #define CCM_SPCTL1 (ccm + 0x10) -#define CCM_OSC26MCTL (ccm + 0x14) #define CCM_PCDR0 (ccm + 0x18) #define CCM_PCDR1 (ccm + 0x1c) #define CCM_PCCR0 (ccm + 0x20) #define CCM_PCCR1 (ccm + 0x24) #define CCM_CCSR (ccm + 0x28) -#define CCM_PMCTL (ccm + 0x2c) -#define CCM_PMCOUNT (ccm + 0x30) -#define CCM_WKGDCTL (ccm + 0x34) - -#define CCM_CSCR_UPDATE_DIS (1 << 31) -#define CCM_CSCR_SSI2 (1 << 23) -#define CCM_CSCR_SSI1 (1 << 22) -#define CCM_CSCR_VPU (1 << 21) -#define CCM_CSCR_MSHC (1 << 20) -#define CCM_CSCR_SPLLRES (1 << 19) -#define CCM_CSCR_MPLLRES (1 << 18) -#define CCM_CSCR_SP (1 << 17) -#define CCM_CSCR_MCU (1 << 16) -#define CCM_CSCR_OSC26MDIV (1 << 4) -#define CCM_CSCR_OSC26M (1 << 3) -#define CCM_CSCR_FPM (1 << 2) -#define CCM_CSCR_SPEN (1 << 1) -#define CCM_CSCR_MPEN (1 << 0) - -/* i.MX27 TO 2+ */ -#define CCM_CSCR_ARM_SRC (1 << 15) - -#define CCM_SPCTL1_LF (1 << 15) -#define CCM_SPCTL1_BRMO (1 << 6) static const char *vpu_sel_clks[] = { "spll", "mpll_main2", }; static const char *cpu_sel_clks[] = { "mpll_main2", "mpll", };