From patchwork Fri Dec 16 09:05:08 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 101413 Delivered-To: patch@linaro.org Received: by 10.182.112.6 with SMTP id im6csp142575obb; Fri, 16 Dec 2016 01:07:28 -0800 (PST) X-Received: by 10.99.108.8 with SMTP id h8mr3682854pgc.93.1481879248749; Fri, 16 Dec 2016 01:07:28 -0800 (PST) Return-Path: Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id h4si6840344plb.194.2016.12.16.01.07.28 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 16 Dec 2016 01:07:28 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org designates 2001:1868:205::9 as permitted sender) client-ip=2001:1868:205::9; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org designates 2001:1868:205::9 as permitted sender) smtp.mailfrom=linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1cHoT9-0004F4-Nb; Fri, 16 Dec 2016 09:06:23 +0000 Received: from mout.kundenserver.de ([212.227.126.131]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1cHoT4-00047z-MU for linux-arm-kernel@lists.infradead.org; Fri, 16 Dec 2016 09:06:19 +0000 Received: from wuerfel.lan ([78.43.21.235]) by mrelayeu.kundenserver.de (mreue005 [212.227.15.129]) with ESMTPA (Nemesis) id 0M9cAV-1cT2Sd3cqN-00CzIG; Fri, 16 Dec 2016 10:05:36 +0100 From: Arnd Bergmann To: Shawn Guo Subject: [PATCH] ARM: imx: remove unused device definitions Date: Fri, 16 Dec 2016 10:05:08 +0100 Message-Id: <20161216090533.2195228-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K0:lnF56ok5Gk8z5qJWuGF9O4FXwObi6pL0My5BbAq7sZpUI+Hq6hJ AWacJ3eZw2RP6JAdTVFlVvnBzGOyApmnE0DHLGOvZ4ogygtOQ6cqiSE8SKtuK3aiGbNWlS7 yOlocnC7mXLHHQxsHV+2LW9K8wqB0djzCzD+0GCNjAb9FcWRTeYqy2+LqSD15naxG8GXdpB GapZw6SmLC/r/YV/MCo0A== X-UI-Out-Filterresults: notjunk:1; V01:K0:y4BcHI0LZy0=:D+NN+2ILzzVPkvixx4aQy4 AA/MiZnZww4a1vaZwTtZq6GVHQfbx5oUbXs1+5Aatiptir4V9ZAz7kTt6jEXyrbnqRIb2Fn4+ huOGH7rAfenmQDT5yqDN7iSerD2+3n4wWcRBTprjqMMNHFF+wsnppzEfW2jmiMplPtc8pxFiC klRk4TK4w57Zu5rjXJbjxmcZR4+Y6hyYV9HIUHhVaMVNlq0DdiFN1qC22vBVphZ/wm6wzNGGf DxhG7hscZdEsYKQNlnJv85ZoULXgZr1F//MVkSSMlhB9jjUt3aE+3ev5brTdDvf5ZaWaYs39m 9IahnfLE3BegFnL3ErjebliH8dP5SFx5xXLWFjm8GsfmidA/lgGGzKXcAV07GLidbGAUWO8D3 VjcFBFhisHSepS64n/1HG4X1bbtc+dwDcFLOy0qBa+nfQGs97yhulA6KI1lvjK8PQIjQ5FByL wmGFm64wVdpBKOdUEFt7MNOFZ24U5nckxe/WcjlL65Dh8NjkFPU75nC2EvhjprU3NbwssvptQ 6yMmNyeASDj6bDdNfbu6h/a4ZbdpkUZzTRJ+DmU/HcfxWhTqmH0d4k87oAOiE381qju9IqdED XVUHuJL20a8tUzC+OuEJDoC8A1IiwoyOiOGOrU4gR7BBaRy8CekU8aQvmSIVBVE/KjiU+PX6v SX8lMyE2T19zw8KmCB7Yax45wRzBVKXV3JLLtIgWiErWQdGmQvRIakUgrHSOgGnYnmu4= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161216_010619_063117_DF8E1046 X-CRM114-Status: UNSURE ( 7.73 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.9 (-) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-1.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [212.227.126.131 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [212.227.126.131 listed in wl.mailspike.net] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Arnd Bergmann , linux-kernel@vger.kernel.org, Sascha Hauer , Fabio Estevam , Alexander Kurz , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org I stumbled over these during build testing, they are evidently not referenced anywhere any more. Signed-off-by: Arnd Bergmann --- arch/arm/mach-imx/devices/platform-flexcan.c | 9 --------- arch/arm/mach-imx/devices/platform-sdhci-esdhc-imx.c | 10 ---------- 2 files changed, 19 deletions(-) -- 2.9.0 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel diff --git a/arch/arm/mach-imx/devices/platform-flexcan.c b/arch/arm/mach-imx/devices/platform-flexcan.c index 55d61eaf63c6..8a1a2fc4ce10 100644 --- a/arch/arm/mach-imx/devices/platform-flexcan.c +++ b/arch/arm/mach-imx/devices/platform-flexcan.c @@ -19,15 +19,6 @@ #define imx_flexcan_data_entry(soc, _id, _hwid, _size) \ [_id] = imx_flexcan_data_entry_single(soc, _id, _hwid, _size) -#ifdef CONFIG_SOC_IMX25 -const struct imx_flexcan_data imx25_flexcan_data[] __initconst = { -#define imx25_flexcan_data_entry(_id, _hwid) \ - imx_flexcan_data_entry(MX25, _id, _hwid, SZ_16K) - imx25_flexcan_data_entry(0, 1), - imx25_flexcan_data_entry(1, 2), -}; -#endif /* ifdef CONFIG_SOC_IMX25 */ - #ifdef CONFIG_SOC_IMX35 const struct imx_flexcan_data imx35_flexcan_data[] __initconst = { #define imx35_flexcan_data_entry(_id, _hwid) \ diff --git a/arch/arm/mach-imx/devices/platform-sdhci-esdhc-imx.c b/arch/arm/mach-imx/devices/platform-sdhci-esdhc-imx.c index 3d039ef021e0..466c9ccc6675 100644 --- a/arch/arm/mach-imx/devices/platform-sdhci-esdhc-imx.c +++ b/arch/arm/mach-imx/devices/platform-sdhci-esdhc-imx.c @@ -22,16 +22,6 @@ #define imx_sdhci_esdhc_imx_data_entry(soc, devid, id, hwid) \ [id] = imx_sdhci_esdhc_imx_data_entry_single(soc, devid, id, hwid) -#ifdef CONFIG_SOC_IMX25 -const struct imx_sdhci_esdhc_imx_data -imx25_sdhci_esdhc_imx_data[] __initconst = { -#define imx25_sdhci_esdhc_imx_data_entry(_id, _hwid) \ - imx_sdhci_esdhc_imx_data_entry(MX25, "sdhci-esdhc-imx25", _id, _hwid) - imx25_sdhci_esdhc_imx_data_entry(0, 1), - imx25_sdhci_esdhc_imx_data_entry(1, 2), -}; -#endif /* ifdef CONFIG_SOC_IMX25 */ - #ifdef CONFIG_SOC_IMX35 const struct imx_sdhci_esdhc_imx_data imx35_sdhci_esdhc_imx_data[] __initconst = {