Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759961AbcLPJNb (ORCPT ); Fri, 16 Dec 2016 04:13:31 -0500 Received: from mout.kundenserver.de ([212.227.126.135]:63317 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759668AbcLPJN1 (ORCPT ); Fri, 16 Dec 2016 04:13:27 -0500 From: Arnd Bergmann To: Shawn Guo Cc: Arnd Bergmann , Sascha Hauer , Fabio Estevam , Alexander Kurz , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org 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:Uo1pQBzZCxI=:C5QpHrGAW9AKX9s7xM+c3p bCAC1SY3ZbVK6yrhjYZhYAof0FCzX8pjxSIEo5Rcf/7mYnyf/nJoS+9amMFmcMQuTKakOLpcX 8hyglSYvwnpP+ggc22oyvXBsyStLolAf+AGr0j1evVX6AoQ1BYBOpJ+nCBwn8QH+iPpimVWSz 7YKekcEJumICzi20jeQE2xYP8vEZINs/kQ088HmVqTnPIsQq1UQPrIm/exR14gDwAxVLCSWqC zza3onirOuxlY4esFF1SQM1j+rSECiFfT4EjN4TgheapO6DDeoTLIQLa2yG8GDXjmk/ztVX6n 59D2k+ii9gyG3BGCzta2O2WLbIDNxFmAbdC3enp5x+orltqjk34tJSXV0tCo2Lk+BHaD5WBF/ +jg83f4/ZfIuN/eHAhJViYDIvzh/DbC3eL/WOwjRx9Fh9uwbYTZ2RNh87FdrKKYSlwdBWtobU jQcJLgwy6nNej50hQGTuF8SBoLPcnWJkGPwGtBQs264wfET/fDuh9RJcH7lLlaR5bljWOxe8t VfgZApsg5BFxYFG3QcGSnZZfpXJvrelQDV5gGAJ/c5S+sdvrkgLuwgKgmQEIvoPcaaaekr8Lr fSQ3tSRD+kcu5HXlyikU+tonD43REQEbC55/w8Aet5FWLSWynktEEGYDLVwGNc/kJHB+MnXih k/RxmkKUW0OFSWiafG9hlVD0z0euS0Oer0+qohhTePVoirwsdBybccVxK9i6Ikn8hZzs= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2083 Lines: 52 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(-) 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 = { -- 2.9.0