From patchwork Thu Oct 10 06:30:45 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingoo Han X-Patchwork-Id: 3014221 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 1FFE79F245 for ; Thu, 10 Oct 2013 06:31:00 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 05CC6203AF for ; Thu, 10 Oct 2013 06:30:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B07DC203AD for ; Thu, 10 Oct 2013 06:30:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753572Ab3JJGau (ORCPT ); Thu, 10 Oct 2013 02:30:50 -0400 Received: from mailout1.samsung.com ([203.254.224.24]:39872 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752523Ab3JJGar (ORCPT ); Thu, 10 Oct 2013 02:30:47 -0400 Received: from epcpsbgr3.samsung.com (u143.gpu120.samsung.co.kr [203.254.230.143]) by mailout1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MUF00JJ2WQ7PD80@mailout1.samsung.com>; Thu, 10 Oct 2013 15:30:45 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [203.254.230.49]) by epcpsbgr3.samsung.com (EPCPMTA) with SMTP id 60.88.20109.59946525; Thu, 10 Oct 2013 15:30:45 +0900 (KST) X-AuditID: cbfee68f-b7f1e6d000004e8d-15-525649959f3d Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 8E.55.05832.59946525; Thu, 10 Oct 2013 15:30:45 +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 <0MUF00I6NWR92K92@mmp2.samsung.com>; Thu, 10 Oct 2013 15:30:45 +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' , 'Jingoo Han' References: <000001cec582$02a6cfb0$07f46f10$%han@samsung.com> In-reply-to: <000001cec582$02a6cfb0$07f46f10$%han@samsung.com> Subject: [PATCH 1/5] ARM: SAMSUNG: Remove unused s5p_device_ehci Date: Thu, 10 Oct 2013 15:30:45 +0900 Message-id: <000701cec582$403f3e70$c0bdbb50$%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: Ac7FggI+9Gc/UHTXR/6J62TM6wkGowAACO2A Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrAIsWRmVeSWpSXmKPExsVy+t8zQ92pnmFBBk9eaVo0L17PZnF54SVW i94FV9ksZpzfx2SxaFkrs8XhN+2sFhN+X2CzWD/jNYsDh8f+uWvYPWbf/cHo0bdlFaPH501y ASxRXDYpqTmZZalF+nYJXBmbX3czFkyQqLg8YRJrA+M6kS5GTg4JAROJuz/6WSBsMYkL99az dTFycQgJLGOUmPf9DztM0f9zhxhBbCGB6YwSUzbIQRT9YpRYs7gHrJtNQE3iy5fDYA0iAqYS G99PAWtgFuhnkrh6JA2i2Vbi6//VYPWcAnYS07s3gdULCzhInFp/grmLkYODRUBV4toMG5Aw L1D5sbtXWSBsQYkfk++xQIzUkli/8zgThC0vsXnNW7BWCQF1iUd/dSEuMJI4tOodK0SJiMS+ F+8YQU6WEHjJLjF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X58UWl OanFhxiTgf6cyCwlmpwPTFp5JfGGxiZmRpZGZhZGJubmpAkrifMebLUOFBJITyxJzU5NLUgt gtnCxMEp1cCoF6BtpnLVrffm+k0XqqaHM+yY8WPeFQ8m4dtPJ1bfe8q/9PWyiREh65VfH+2v kK2YrbpkevWpnfyOvrOnSq3ZcVBr96a9fL7q3/3/MM8rZ5Th3p+Wv4Tzo+tGsZvl07bH3Xs2 b7L5mkpBXs7wjtAl3TOOT3+tXtX/dN7jOX/aLzwt7HU0WV7zWImlOCPRUIu5qDgRAA19KzVQ AwAA 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;