From patchwork Tue May 20 11:47:04 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shawn Guo X-Patchwork-Id: 4209041 Return-Path: X-Original-To: patchwork-linux-arm@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 DDA6F9F32A for ; Tue, 20 May 2014 11:50:09 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id F3AB2202D1 for ; Tue, 20 May 2014 11:50:08 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id CE7412026C for ; Tue, 20 May 2014 11:50:07 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WmiWF-0007lf-QH; Tue, 20 May 2014 11:47:43 +0000 Received: from mail-by2lp0235.outbound.protection.outlook.com ([207.46.163.235] helo=na01-by2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WmiWC-0007gA-2A for linux-arm-kernel@lists.infradead.org; Tue, 20 May 2014 11:47:40 +0000 Received: from BY2PR03CA030.namprd03.prod.outlook.com (10.242.234.151) by BY2PR03MB025.namprd03.prod.outlook.com (10.255.240.39) with Microsoft SMTP Server (TLS) id 15.0.944.11; Tue, 20 May 2014 11:47:17 +0000 Received: from BL2FFO11FD041.protection.gbl (2a01:111:f400:7c09::143) by BY2PR03CA030.outlook.office365.com (2a01:111:e400:2c2c::23) with Microsoft SMTP Server (TLS) id 15.0.944.11 via Frontend Transport; Tue, 20 May 2014 11:47:17 +0000 Received: from az84smr01.freescale.net (192.88.158.2) by BL2FFO11FD041.mail.protection.outlook.com (10.173.161.137) with Microsoft SMTP Server (TLS) id 15.0.949.9 via Frontend Transport; Tue, 20 May 2014 11:47:16 +0000 Received: from dragon ([10.192.185.75]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id s4KBl5gE025967; Tue, 20 May 2014 04:47:11 -0700 Date: Tue, 20 May 2014 19:47:04 +0800 From: Shawn Guo To: Alexander Shiyan Subject: Re: [PATCH 05/20] ARM: imx5: remove i.MX5 non-DT device registration helpers Message-ID: <20140520114700.GA20778@dragon> References: <1400575538-21136-1-git-send-email-shawn.guo@freescale.com> <1400575538-21136-6-git-send-email-shawn.guo@freescale.com> <1400576552.352489173@f117.i.mail.ru> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1400576552.352489173@f117.i.mail.ru> User-Agent: Mutt/1.5.21 (2010-09-15) X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:192.88.158.2; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(6009001)(51704005)(189002)(199002)(24454002)(68736004)(69596002)(33716001)(6806004)(57986004)(83322001)(83506001)(84676001)(81156002)(87936001)(33656001)(19580405001)(44976005)(97736001)(102836001)(76482001)(77982001)(19580395003)(83072002)(21056001)(85852003)(77096999)(74662001)(54356999)(46102001)(31966008)(99396002)(76176999)(4396001)(86362001)(92566001)(92726001)(575784001)(50986999)(74502001)(50466002)(79102001)(81542001)(80022001)(23676002)(47776003)(81342001)(64706001)(20776003); DIR:OUT; SFP:; SCL:1; SRVR:BY2PR03MB025; H:az84smr01.freescale.net; FPR:; MLV:sfv; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Forefront-PRVS: 02176E2458 Received-SPF: Fail (: domain of freescale.com does not designate 192.88.158.2 as permitted sender) receiver=; client-ip=192.88.158.2; helo=az84smr01.freescale.net; Authentication-Results: spf=fail (sender IP is 192.88.158.2) smtp.mailfrom=Shawn.Guo@freescale.com; X-OriginatorOrg: freescale.com X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140520_044740_107940_0EBDC7A6 X-CRM114-Status: UNSURE ( 9.42 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.7 (/) Cc: linux-arm-kernel@lists.infradead.org, kernel@pengutronix.de X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,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 On Tue, May 20, 2014 at 01:02:32PM +0400, Alexander Shiyan wrote: > Tue, 20 May 2014 16:45:23 +0800 ?? Shawn Guo : > > i.MX5 is DT only platforms, so these non-DT device registration helpers > > is used nowhere. Remove them. > > > > Signed-off-by: Shawn Guo > > --- > > arch/arm/mach-imx/devices/platform-fec.c | 12 ---------- > > arch/arm/mach-imx/devices/platform-fsl-usb2-udc.c | 5 ---- > > arch/arm/mach-imx/devices/platform-imx-i2c.c | 26 --------------------- > > arch/arm/mach-imx/devices/platform-imx-keypad.c | 10 -------- > > arch/arm/mach-imx/devices/platform-imx-ssi.c | 20 ---------------- > > arch/arm/mach-imx/devices/platform-imx-uart.c | 22 ------------------ > > arch/arm/mach-imx/devices/platform-imx2-wdt.c | 18 --------------- > > arch/arm/mach-imx/devices/platform-mxc-ehci.c | 9 -------- > > arch/arm/mach-imx/devices/platform-mxc_nand.c | 5 ---- > > arch/arm/mach-imx/devices/platform-pata_imx.c | 10 -------- > > .../mach-imx/devices/platform-sdhci-esdhc-imx.c | 24 ------------------- > > arch/arm/mach-imx/devices/platform-spi_imx.c | 27 ---------------------- > > Seems, as an follow patch we should also remove SOC_IMX5* symbol > dependencies from arch/arm/mach-imx/devices/Kconfig. Ah, yes. I just amended the following change into the patch. Shawn diff --git a/arch/arm/mach-imx/devices/Kconfig b/arch/arm/mach-imx/devices/Kconfig index 2d260a5..e40a0ab 100644 --- a/arch/arm/mach-imx/devices/Kconfig +++ b/arch/arm/mach-imx/devices/Kconfig @@ -1,6 +1,6 @@ config IMX_HAVE_PLATFORM_FEC bool - default y if ARCH_MX25 || SOC_IMX27 || SOC_IMX35 || SOC_IMX51 || SOC_IMX53 + default y if ARCH_MX25 || SOC_IMX27 || SOC_IMX35 config IMX_HAVE_PLATFORM_FLEXCAN bool @@ -10,7 +10,6 @@ config IMX_HAVE_PLATFORM_FSL_USB2_UDC config IMX_HAVE_PLATFORM_GPIO_KEYS bool - default y if SOC_IMX51 config IMX_HAVE_PLATFORM_IMX21_HCD bool