From patchwork Wed Aug 8 00:56:28 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kim Kukjin X-Patchwork-Id: 1291451 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork1.kernel.org (Postfix) with ESMTP id CBDB23FCC5 for ; Wed, 8 Aug 2012 00:59:35 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1SyuZh-0006Io-76; Wed, 08 Aug 2012 00:56:37 +0000 Received: from mailout3.samsung.com ([203.254.224.33]) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1SyuZc-0006Ia-5G for linux-arm-kernel@lists.infradead.org; Wed, 08 Aug 2012 00:56:33 +0000 Received: from epcpsbgm2.samsung.com (mailout3.samsung.com [203.254.224.33]) by mailout3.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0M8E00HNLVWOMA90@mailout3.samsung.com> for linux-arm-kernel@lists.infradead.org; Wed, 08 Aug 2012 09:56:28 +0900 (KST) X-AuditID: cbfee61b-b7f566d000005c8a-7a-5021b93cf0dd Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 75.79.23690.C39B1205; Wed, 08 Aug 2012 09:56:28 +0900 (KST) Received: from DOKGENEKIM03 ([12.23.119.152]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0M8E006I0VY4XIA0@mmp2.samsung.com> for linux-arm-kernel@lists.infradead.org; Wed, 08 Aug 2012 09:56:28 +0900 (KST) From: Kukjin Kim To: linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org Subject: [PATCH] ARM: EXYNOS: cleanup unused code related to GPS Date: Wed, 08 Aug 2012 09:56:28 +0900 Message-id: <0a2e01cd7500$a4765280$ed62f780$%kim@samsung.com> MIME-version: 1.0 X-Mailer: Microsoft Office Outlook 12.0 Thread-index: Ac11AKRg0fRKdh8nRYqpVGZvcngExg== Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrMLMWRmVeSWpSXmKPExsVy+t9jQV2bnYoBBls7ZCw2Pb7G6sDosXlJ fQBjFJdNSmpOZllqkb5dAlfGi4MTGQuu8VV8PbKTsYFxK08XIyeHhICJxL+J7WwQtpjEhXvr gWwuDiGB6YwSc5d0M0E4y5gknn++yAxSxSagIXH4/TP2LkYODhEBb4nl1xRBwswCoRJTb21i BLGFBRwkDj+dxARiswioSqyZd4QdxOYVsJVYPPEKM4QtKPFj8j0WiF4tifU7jzNB2PISm9e8 ZQYZLyGgLvHory7EJj2JVRsDISpEJPa9eMc4gVFgFpJBs5AMmoVk0CwkLQsYWVYxiqYWJBcU J6XnGukVJ+YWl+al6yXn525iBAflM+kdjKsaLA4xCnAwKvHwbkpVDBBiTSwrrsw9xCjBwawk wtvWChTiTUmsrEotyo8vKs1JLT7EKM3BoiTOa+L91V9IID2xJDU7NbUgtQgmy8TBKdXAuIFf weDE1Btx3LfYmGKv/193RcR74nuTZ9ONn6W5yDUlh16Z/Ift56lv29/GdK67a6OVpXNS+cqp KV/by2ask1VW/3Qtef2ZOEVz36g2dkkPqav2lw9xmz/09LiuItt7Xjm0/IJ255dfWQYffX5p bzKI3fSz/kvZs2WzZWS3e2beDs//VdihpMRSnJFoqMVcVJwIAAlRAmJGAgAA X-TM-AS-MML: No X-Spam-Note: CRM114 invocation failed 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 ---- ---------------------- -------------------------------------------------- -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high trust [203.254.224.33 listed in list.dnswl.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 T_RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 4.0 HDRS_LCASE Odd capitalization of message header 1.0 MANY_HDRS_LCASE Odd capitalization of multiple message headers Cc: 'Kukjin Kim' , 'Jonghwan Choi' X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org From: Jonghwan Choi Signed-off-by: Jonghwan Choi Signed-off-by: Kukjin Kim --- arch/arm/mach-exynos/clock-exynos5.c | 9 --------- arch/arm/mach-exynos/include/mach/map.h | 1 - 2 files changed, 0 insertions(+), 10 deletions(-) diff --git a/arch/arm/mach-exynos/clock-exynos5.c b/arch/arm/mach-exynos/clock-exynos5.c index 774533c..3b00e29 100644 --- a/arch/arm/mach-exynos/clock-exynos5.c +++ b/arch/arm/mach-exynos/clock-exynos5.c @@ -166,11 +166,6 @@ static int exynos5_clk_ip_gen_ctrl(struct clk *clk, int enable) return s5p_gatectrl(EXYNOS5_CLKGATE_IP_GEN, clk, enable); } -static int exynos5_clk_ip_gps_ctrl(struct clk *clk, int enable) -{ - return s5p_gatectrl(EXYNOS5_CLKGATE_IP_GPS, clk, enable); -} - static int exynos5_clk_ip_mfc_ctrl(struct clk *clk, int enable) { return s5p_gatectrl(EXYNOS5_CLKGATE_IP_MFC, clk, enable); @@ -672,10 +667,6 @@ static struct clk exynos5_init_clocks_off[] = { .enable = exynos5_clk_ip_fsys_ctrl, .ctrlbit = (1 << 7), }, { - .name = "gps", - .enable = exynos5_clk_ip_gps_ctrl, - .ctrlbit = ((1 << 3) | (1 << 2) | (1 << 0)), - }, { .name = "nfcon", .enable = exynos5_clk_ip_fsys_ctrl, .ctrlbit = (1 << 22), diff --git a/arch/arm/mach-exynos/include/mach/map.h b/arch/arm/mach-exynos/include/mach/map.h index c72b675..9d1f3ac 100644 --- a/arch/arm/mach-exynos/include/mach/map.h +++ b/arch/arm/mach-exynos/include/mach/map.h @@ -131,7 +131,6 @@ #define EXYNOS5_PA_SYSMMU_JPEG 0x11F20000 #define EXYNOS5_PA_SYSMMU_IOP 0x12360000 #define EXYNOS5_PA_SYSMMU_RTIC 0x12370000 -#define EXYNOS5_PA_SYSMMU_GPS 0x12630000 #define EXYNOS5_PA_SYSMMU_ISP 0x13260000 #define EXYNOS5_PA_SYSMMU_DRC 0x12370000 #define EXYNOS5_PA_SYSMMU_SCALERC 0x13280000