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: 4395621 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id A56A69F36A for ; Sun, 22 Jun 2014 08:38:05 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 97FB920268 for ; Sun, 22 Jun 2014 08:38:04 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A10742026D for ; Sun, 22 Jun 2014 08:38:02 +0000 (UTC) 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-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 (/) 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-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+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, FREEMAIL_FROM, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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", };