From patchwork Thu Oct 10 07:40:58 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingoo Han X-Patchwork-Id: 3014621 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id AD7B1BF924 for ; Thu, 10 Oct 2013 07:41:12 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9A01F20142 for ; Thu, 10 Oct 2013 07:41:11 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2D03D200DF for ; Thu, 10 Oct 2013 07:41:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752861Ab3JJHlJ (ORCPT ); Thu, 10 Oct 2013 03:41:09 -0400 Received: from mailout2.samsung.com ([203.254.224.25]:29046 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751598Ab3JJHlH (ORCPT ); Thu, 10 Oct 2013 03:41:07 -0400 Received: from epcpsbgr1.samsung.com (u141.gpu120.samsung.co.kr [203.254.230.141]) by mailout2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MUG0048Q000IWJ0@mailout2.samsung.com>; Thu, 10 Oct 2013 16:40:59 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [203.254.230.51]) by epcpsbgr1.samsung.com (EPCPMTA) with SMTP id 05.B4.30629.A0A56525; Thu, 10 Oct 2013 16:40:58 +0900 (KST) X-AuditID: cbfee68d-b7fe86d0000077a5-35-52565a0a85c5 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id EE.B1.09055.A0A56525; Thu, 10 Oct 2013 16:40:58 +0900 (KST) Received: from DOJG1HAN03 ([12.23.120.99]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MUG00I6100A12P2@mmp2.samsung.com>; Thu, 10 Oct 2013 16:40:58 +0900 (KST) From: Jingoo Han To: 'Greg Kroah-Hartman' Cc: linux-usb@vger.kernel.org, linux-samsung-soc@vger.kernel.org, 'Kukjin Kim' , 'Alan Stern' , 'Sylwester Nawrocki' , 'Tomasz Figa' , 'Sachin Kamat' , 'Jingoo Han' References: <000101cec58b$ee8bd2f0$cba378d0$%han@samsung.com> In-reply-to: <000101cec58b$ee8bd2f0$cba378d0$%han@samsung.com> Subject: [PATCH V2 1/5] ARM: SAMSUNG: Remove unused s5p_device_ehci Date: Thu, 10 Oct 2013 16:40:58 +0900 Message-id: <000201cec58c$0f932d40$2eb987c0$%han@samsung.com> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-index: Ac7Fi+5bS2rX9cS6SFqxMcDwCOMqpwAAAoMA Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrLIsWRmVeSWpSXmKPExsVy+t8zY12uqLAgg/ZnFhbNi9ezWVxeeInV onfBVTaLGef3MVksWtbKbHH4TTurxck/vYwWE35fYLNYP+M1iwOnx51re9g89s9dw+4x++4P Ro++LasYPT5vkgtgjeKySUnNySxLLdK3S+DK2Py6m7FggkTF5QmTWBsY14l0MXJySAiYSEz6 0MQMYYtJXLi3nq2LkYtDSGAZo0R74wdWmKLbX+6zQiSmM0o0PFwN5fxilLh+6ApYFZuAmsSX L4fZQWwRAVOJje+nMIIUMQvsZpJ4tOIuWJGQgK3EqZs3wIo4BewkNs+ZxQJiCws4S2xpPMUI YrMIqErsXboDrJ4XqP7Op2XMELagxI/J98DqmQW0JNbvPM4EYctLbF7zFqiG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weIQowAHoxIPb0VZaJAQa2JZcWXuIUYJDmYlEd7p J4FCvCmJlVWpRfnxRaU5qcWHGJOBHp3ILCWanA9MZ3kl8YbGJmZGlkZmFkYm5uakCSuJ8x5o tQ4UEkhPLEnNTk0tSC2C2cLEwSnVwOiupvq2cGnBoZW/Q3r2bfuxXvWJbvTnyZWTPv+fFOv/ hfXr+/IL1lmPpthu3fLvitRfrekLp8tvuLKV4cE77SrlO/LmdzYcOzPTrNiql33VMbHk68vN P86441y6fu7vrYdnp3zLXFg+s1Hx10KpBJH20Fer9b8EZbJmb9W/7/R0a6L4z6p67yXOSizF GYmGWsxFxYkAHhlinV0DAAA= 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.1 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 Since commit ca91435 "ARM: EXYNOS: Remove unused board files", s5p_device_ehci is not used anymore. Thus, s5p_device_ehci can be removed. Also, unnecessary S5P_DEV_USB_EHCI option is removed. Signed-off-by: Jingoo Han Reviewed-by: Sylwester Nawrocki --- arch/arm/plat-samsung/Kconfig | 5 ----- arch/arm/plat-samsung/devs.c | 34 ----------------------------- arch/arm/plat-samsung/include/plat/devs.h | 1 - 3 files changed, 40 deletions(-) diff --git a/arch/arm/plat-samsung/Kconfig b/arch/arm/plat-samsung/Kconfig index 7dfba93..99bfbb3 100644 --- a/arch/arm/plat-samsung/Kconfig +++ b/arch/arm/plat-samsung/Kconfig @@ -382,11 +382,6 @@ config S5P_DEV_TV help Compile in platform device definition for TV interface -config S5P_DEV_USB_EHCI - bool - help - Compile in platform device definition for USB EHCI - config S3C24XX_PWM bool "PWM device support" select PWM diff --git a/arch/arm/plat-samsung/devs.c b/arch/arm/plat-samsung/devs.c index 8ce0ac0..25f40c9 100644 --- a/arch/arm/plat-samsung/devs.c +++ b/arch/arm/plat-samsung/devs.c @@ -49,7 +49,6 @@ #include #include #include -#include #include #include #include @@ -1359,39 +1358,6 @@ void __init s3c24xx_udc_set_platdata(struct s3c2410_udc_mach_info *pd) } #endif /* CONFIG_PLAT_S3C24XX */ -/* USB EHCI Host Controller */ - -#ifdef CONFIG_S5P_DEV_USB_EHCI -static struct resource s5p_ehci_resource[] = { - [0] = DEFINE_RES_MEM(S5P_PA_EHCI, SZ_256), - [1] = DEFINE_RES_IRQ(IRQ_USB_HOST), -}; - -struct platform_device s5p_device_ehci = { - .name = "s5p-ehci", - .id = -1, - .num_resources = ARRAY_SIZE(s5p_ehci_resource), - .resource = s5p_ehci_resource, - .dev = { - .dma_mask = &samsung_device_dma_mask, - .coherent_dma_mask = DMA_BIT_MASK(32), - } -}; - -void __init s5p_ehci_set_platdata(struct s5p_ehci_platdata *pd) -{ - struct s5p_ehci_platdata *npd; - - npd = s3c_set_platdata(pd, sizeof(struct s5p_ehci_platdata), - &s5p_device_ehci); - - if (!npd->phy_init) - npd->phy_init = s5p_usb_phy_init; - if (!npd->phy_exit) - npd->phy_exit = s5p_usb_phy_exit; -} -#endif /* CONFIG_S5P_DEV_USB_EHCI */ - /* USB HSOTG */ #ifdef CONFIG_S3C_DEV_USB_HSOTG diff --git a/arch/arm/plat-samsung/include/plat/devs.h b/arch/arm/plat-samsung/include/plat/devs.h index 0dc4ac4..eece188 100644 --- a/arch/arm/plat-samsung/include/plat/devs.h +++ b/arch/arm/plat-samsung/include/plat/devs.h @@ -75,7 +75,6 @@ extern struct platform_device s3c_device_usb_hsotg; extern struct platform_device s3c_device_usb_hsudc; extern struct platform_device s3c_device_wdt; -extern struct platform_device s5p_device_ehci; extern struct platform_device s5p_device_fimc0; extern struct platform_device s5p_device_fimc1; extern struct platform_device s5p_device_fimc2;