From patchwork Fri Nov 16 13:11:26 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Abraham X-Patchwork-Id: 1754891 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork2.kernel.org (Postfix) with ESMTP id 42854DF230 for ; Fri, 16 Nov 2012 12:46:29 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TZLHd-00088w-OR; Fri, 16 Nov 2012 12:44:33 +0000 Received: from mailout3.samsung.com ([203.254.224.33]) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TZLHa-00088f-U0 for linux-arm-kernel@lists.infradead.org; Fri, 16 Nov 2012 12:44:31 +0000 Received: from epcpsbgm1.samsung.com (epcpsbgm1 [203.254.230.26]) by mailout3.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MDK003XKZDEHI90@mailout3.samsung.com> for linux-arm-kernel@lists.infradead.org; Fri, 16 Nov 2012 21:44:25 +0900 (KST) X-AuditID: cbfee61a-b7fa66d0000004cf-3a-50a635283f20 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 6A.D7.01231.82536A05; Fri, 16 Nov 2012 21:44:25 +0900 (KST) Received: from localhost.localdomain ([107.108.73.37]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MDK00MEBZCMXX60@mmp2.samsung.com> for linux-arm-kernel@lists.infradead.org; Fri, 16 Nov 2012 21:44:24 +0900 (KST) From: Thomas Abraham To: linux-samsung-soc@vger.kernel.org Subject: [PATCH] ARM: Exynos5: Remove i2c0 resource information and setting of device names Date: Fri, 16 Nov 2012 18:41:26 +0530 Message-id: <1353071486-29905-1-git-send-email-thomas.abraham@linaro.org> X-Mailer: git-send-email 1.6.6.rc2 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrFJMWRmVeSWpSXmKPExsVy+t9jQV1N02UBBi8/MVlsenyN1YHRY/OS +gDGKC6blNSczLLUIn27BK6Mtk2/WQsWcldsufGfpYHxNmcXIyeHhICJxNY5F1ggbDGJC/fW s3UxcnEICUxnlNjx7TIzhLOeSWJi83F2kCo2AQOJRwvfgdkiAqoSn9sWgNnMAvYS8363MYLY wgKxEg/vNDGD2CxANe8OzgSzeQU8JSb1PmWG2KYksaH3KNMERu4FjAyrGEVTC5ILipPScw31 ihNzi0vz0vWS83M3MYJ9+ExqB+PKBotDjAIcjEo8vIK3lwYIsSaWFVfmHmKU4GBWEuFdLrss QIg3JbGyKrUoP76oNCe1+BCjNAeLkjhvs0dKgJBAemJJanZqakFqEUyWiYNTqoFxUVqUUtLJ cO0HBeejNNcwiEpZJchoSi/SZSlNW2Lkn+d7rfLnk9bpN4O3vtJTu73bqMRtw8tPHGp56Q8t nlyR1pS55Gk3d/aXqT+cP3tlTs3f1lW3/faK1d82MopZJV/q0lxy4ayE8tesidZm9fsuFV2x qZvCu/C2RmjDwp+ma84Z7rgwt2aREktxRqKhFnNRcSIAew2JLN0BAAA= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20121116_074431_273041_C9755980 X-CRM114-Status: UNSURE ( 8.59 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -6.9 (------) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-6.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 -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: kgene.kim@samsung.com, linux-arm-kernel@lists.infradead.org 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: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org All Exynos5 based platforms support only device tree based boot and so the unused non-dt code that sets i2c0 resource information and device names for sdhci and i2c platform devices are removed. Signed-off-by: Thomas Abraham --- arch/arm/mach-exynos/common.c | 17 ----------------- 1 files changed, 0 insertions(+), 17 deletions(-) diff --git a/arch/arm/mach-exynos/common.c b/arch/arm/mach-exynos/common.c index d067ce7..1efcc6f 100644 --- a/arch/arm/mach-exynos/common.c +++ b/arch/arm/mach-exynos/common.c @@ -336,23 +336,6 @@ static void __init exynos4_map_io(void) static void __init exynos5_map_io(void) { iotable_init(exynos5_iodesc, ARRAY_SIZE(exynos5_iodesc)); - - s3c_device_i2c0.resource[0].start = EXYNOS5_PA_IIC(0); - s3c_device_i2c0.resource[0].end = EXYNOS5_PA_IIC(0) + SZ_4K - 1; - s3c_device_i2c0.resource[1].start = EXYNOS5_IRQ_IIC; - s3c_device_i2c0.resource[1].end = EXYNOS5_IRQ_IIC; - - s3c_sdhci_setname(0, "exynos4-sdhci"); - s3c_sdhci_setname(1, "exynos4-sdhci"); - s3c_sdhci_setname(2, "exynos4-sdhci"); - s3c_sdhci_setname(3, "exynos4-sdhci"); - - /* The I2C bus controllers are directly compatible with s3c2440 */ - s3c_i2c0_setname("s3c2440-i2c"); - s3c_i2c1_setname("s3c2440-i2c"); - s3c_i2c2_setname("s3c2440-i2c"); - - s3c64xx_spi_setname("exynos4210-spi"); } static void __init exynos4_init_clocks(int xtal)