From patchwork Mon Jul 15 00:21:07 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingoo Han X-Patchwork-Id: 2827266 Return-Path: X-Original-To: patchwork-linux-samsung-soc@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 F3FB69F756 for ; Mon, 15 Jul 2013 00:21:15 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0B5762012C for ; Mon, 15 Jul 2013 00:21:15 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 45A6520124 for ; Mon, 15 Jul 2013 00:21:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753605Ab3GOAVK (ORCPT ); Sun, 14 Jul 2013 20:21:10 -0400 Received: from mailout1.samsung.com ([203.254.224.24]:61182 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753565Ab3GOAVJ (ORCPT ); Sun, 14 Jul 2013 20:21:09 -0400 Received: from epcpsbgr1.samsung.com (u141.gpu120.samsung.co.kr [203.254.230.141]) by mailout1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MPY00CPHBMTT150@mailout1.samsung.com> for linux-samsung-soc@vger.kernel.org; Mon, 15 Jul 2013 09:21:07 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [203.254.230.51]) by epcpsbgr1.samsung.com (EPCPMTA) with SMTP id E9.68.17404.37043E15; Mon, 15 Jul 2013 09:21:07 +0900 (KST) X-AuditID: cbfee68d-b7f096d0000043fc-0a-51e3407328f1 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 86.E7.03860.37043E15; Mon, 15 Jul 2013 09:21:07 +0900 (KST) Received: from DOJG1HAN03 ([12.23.120.99]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MPY00ALVBN7J740@mmp1.samsung.com>; Mon, 15 Jul 2013 09:21:07 +0900 (KST) From: Jingoo Han To: 'Kukjin Kim' Cc: linux-samsung-soc@vger.kernel.org, Jingoo Han Subject: [PATCH] ARM: SAMSUNG: Remove unnecessary exynos4_default_sdhci*() Date: Mon, 15 Jul 2013 09:21:07 +0900 Message-id: <004d01ce80f1$33533d90$99f9b8b0$@samsung.com> MIME-version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7bit X-Mailer: Microsoft Outlook 14.0 Thread-index: Ac6A8SwHj+pJ+kcbTbquOrKOgmbLjw== Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrOIsWRmVeSWpSXmKPExsVy+t8zY91ih8eBBlOemllcXniJ1aJ3wVU2 ixnn9zE5MHv0bVnF6PF5k1wAUxSXTUpqTmZZapG+XQJXRuOSiewFfXwVf57OZ2pgnMXTxcjJ ISFgIrGo8T0rhC0mceHeerYuRi4OIYFljBKL9nWxwRTdmvqYGSKxiFFi9r3FUFW/GCW+XLjA CFLFJqAm8eXLYXYQW0RAQ+Lp7iNgcWYBd4lvLbvBVggLeElc+XAXzGYRUJVY0/MHyObg4BWw lNi0BewiXgFBiR+T77FAtGpJbN7WxAphy0tsXvOWGeIgBYkdZ18zQqzSkzhwbRNUjYjEvhfv GEFukxCYxy4xp3sFE8QuAYlvkw+xgOySEJCV2HQAao6kxMEVN1gmMIrNQrJ6FpLVs5CsnoVk xQJGllWMoqkFyQXFSelFhnrFibnFpXnpesn5uZsYIZHUu4Px9gHrQ4zJQOsnMkuJJucDIzGv JN7Q2MzIwtTE1NjI3NKMNGElcV61FutAIYH0xJLU7NTUgtSi+KLSnNTi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r4Xr5q1YcVuJpTgj0VCLuag4EQDOrmRCFwMA AA== DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-7.3 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable 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 Commit 17397a2("ARM: EXYNOS: Remove platform device initialization") removes calling exynos4_default_sdhci*() functions; thus, these are not necessary any more. Signed-off-by: Jingoo Han --- arch/arm/plat-samsung/include/plat/sdhci.h | 38 ---------------------------- 1 file changed, 38 deletions(-) diff --git a/arch/arm/plat-samsung/include/plat/sdhci.h b/arch/arm/plat-samsung/include/plat/sdhci.h index ce1d0f7..bf65021 100644 --- a/arch/arm/plat-samsung/include/plat/sdhci.h +++ b/arch/arm/plat-samsung/include/plat/sdhci.h @@ -260,44 +260,6 @@ static inline void s5pv210_default_sdhci3(void) { } #endif /* CONFIG_S5PV210_SETUP_SDHCI */ -/* EXYNOS4 SDHCI setup */ -#ifdef CONFIG_EXYNOS4_SETUP_SDHCI -static inline void exynos4_default_sdhci0(void) -{ -#ifdef CONFIG_S3C_DEV_HSMMC - s3c_hsmmc0_def_platdata.cfg_gpio = exynos4_setup_sdhci0_cfg_gpio; -#endif -} - -static inline void exynos4_default_sdhci1(void) -{ -#ifdef CONFIG_S3C_DEV_HSMMC1 - s3c_hsmmc1_def_platdata.cfg_gpio = exynos4_setup_sdhci1_cfg_gpio; -#endif -} - -static inline void exynos4_default_sdhci2(void) -{ -#ifdef CONFIG_S3C_DEV_HSMMC2 - s3c_hsmmc2_def_platdata.cfg_gpio = exynos4_setup_sdhci2_cfg_gpio; -#endif -} - -static inline void exynos4_default_sdhci3(void) -{ -#ifdef CONFIG_S3C_DEV_HSMMC3 - s3c_hsmmc3_def_platdata.cfg_gpio = exynos4_setup_sdhci3_cfg_gpio; -#endif -} - -#else -static inline void exynos4_default_sdhci0(void) { } -static inline void exynos4_default_sdhci1(void) { } -static inline void exynos4_default_sdhci2(void) { } -static inline void exynos4_default_sdhci3(void) { } - -#endif /* CONFIG_EXYNOS4_SETUP_SDHCI */ - static inline void s3c_sdhci_setname(int id, char *name) { switch (id) {