ARM: imx: remove unused device definitions
authorArnd Bergmann <arnd@arndb.de>
Fri, 16 Dec 2016 09:05:08 +0000 (10:05 +0100)
committerShawn Guo <shawnguo@kernel.org>
Mon, 2 Jan 2017 07:28:28 +0000 (15:28 +0800)
I stumbled over these during build testing, they are evidently
not referenced anywhere any more.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/mach-imx/devices/platform-flexcan.c
arch/arm/mach-imx/devices/platform-sdhci-esdhc-imx.c

index 55d61ea..8a1a2fc 100644 (file)
 #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)                           \
index 3d039ef..466c9cc 100644 (file)
 #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 = {