Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1543308
| From | Arnd Bergmann <arnd@arndb.de> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] ARM: imx: remove unused device definitions |
| Date | 2016-12-16 10:30 +0100 |
| Message-ID | <sOWZY-1DO-23@gated-at.bofh.it> (permalink) |
| References | <sOWQi-1zp-9@gated-at.bofh.it> <sOWQi-1zp-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Friday, December 16, 2016 10:10:49 AM CET Marc Kleine-Budde wrote:
> On 12/16/2016 10:05 AM, Arnd Bergmann wrote:
> > I stumbled over these during build testing, they are evidently
> > not referenced anywhere any more.
> >
> > Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> > ---
> > 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) \
>
> What about the imx35 variant?
>
It's used from here:
arch/arm/mach-imx/mach-pcm043.c: imx35_add_flexcan1();
Arnd
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH] ARM: imx: remove unused device definitions Arnd Bergmann <arnd@arndb.de> - 2016-12-16 10:20 +0100
Re: [PATCH] ARM: imx: remove unused device definitions Marc Kleine-Budde <mkl@pengutronix.de> - 2016-12-16 10:20 +0100
Re: [PATCH] ARM: imx: remove unused device definitions Marc Kleine-Budde <mkl@pengutronix.de> - 2016-12-16 10:30 +0100
Re: [PATCH] ARM: imx: remove unused device definitions Arnd Bergmann <arnd@arndb.de> - 2016-12-16 10:30 +0100
Re: [PATCH] ARM: imx: remove unused device definitions Shawn Guo <shawnguo@kernel.org> - 2017-01-02 08:30 +0100
csiph-web