Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760099AbcLPJLV (ORCPT ); Fri, 16 Dec 2016 04:11:21 -0500 Received: from metis.ext.4.pengutronix.de ([92.198.50.35]:38143 "EHLO metis.ext.4.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759881AbcLPJLC (ORCPT ); Fri, 16 Dec 2016 04:11:02 -0500 Subject: Re: [PATCH] ARM: imx: remove unused device definitions To: Arnd Bergmann , Shawn Guo References: <20161216090533.2195228-1-arnd@arndb.de> Cc: linux-kernel@vger.kernel.org, Sascha Hauer , Fabio Estevam , Alexander Kurz , linux-arm-kernel@lists.infradead.org From: Marc Kleine-Budde Message-ID: <7e077d23-eec1-6a6a-9318-84a5543d684d@pengutronix.de> Date: Fri, 16 Dec 2016 10:10:49 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.4.0 MIME-Version: 1.0 In-Reply-To: <20161216090533.2195228-1-arnd@arndb.de> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="aK7rrVWMnK4t2lDCU6QAo7bwJiBur0J9K" X-SA-Exim-Connect-IP: 2001:67c:670:201:5054:ff:fe8d:eefb X-SA-Exim-Mail-From: mkl@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3210 Lines: 81 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --aK7rrVWMnK4t2lDCU6QAo7bwJiBur0J9K Content-Type: multipart/mixed; boundary="DbkNwUkJGTRkpirWoAndFfcrPD6KrNSD5"; protected-headers="v1" From: Marc Kleine-Budde To: Arnd Bergmann , Shawn Guo Cc: linux-kernel@vger.kernel.org, Sascha Hauer , Fabio Estevam , Alexander Kurz , linux-arm-kernel@lists.infradead.org Message-ID: <7e077d23-eec1-6a6a-9318-84a5543d684d@pengutronix.de> Subject: Re: [PATCH] ARM: imx: remove unused device definitions References: <20161216090533.2195228-1-arnd@arndb.de> In-Reply-To: <20161216090533.2195228-1-arnd@arndb.de> --DbkNwUkJGTRkpirWoAndFfcrPD6KrNSD5 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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. >=20 > 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(-) >=20 > diff --git a/arch/arm/mach-imx/devices/platform-flexcan.c b/arch/arm/ma= ch-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] =3D imx_flexcan_data_entry_single(soc, _id, _hwid, _size) > =20 > -#ifdef CONFIG_SOC_IMX25 > -const struct imx_flexcan_data imx25_flexcan_data[] __initconst =3D { > -#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 =3D { > #define imx35_flexcan_data_entry(_id, _hwid) \ What about the imx35 variant? Marc --=20 Pengutronix e.K. | Marc Kleine-Budde | Industrial Linux Solutions | Phone: +49-231-2826-924 | Vertretung West/Dortmund | Fax: +49-5121-206917-5555 | Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de | --DbkNwUkJGTRkpirWoAndFfcrPD6KrNSD5-- --aK7rrVWMnK4t2lDCU6QAo7bwJiBur0J9K Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEES2FAuYbJvAGobdVQPTuqJaypJWoFAlhTr5kACgkQPTuqJayp JWrlfAf+KZQtOfFBdoDjVuoWwIDVLW9C1eDfuDmLGoGyhP/DxVJ7VbPDp2+TgKD/ QXWpLJudVTPAbjS0fK6lRNThfilIKhfvAEwA8VK6jkyi5t1FNS+tq0GnzqzCm9QO hF2MA+BOeOY7p5+CnG5LReNI4Pp668Sk21IywViVObh8kg7hhV79v+aWsjRdmm2f 6jTez6YmeTgMlLg555DVQ5rBqKc4q+pD0us4TcBBECeXrdlqjZ2L0NJRRiZaRfUO ukAAEz2OctWudPm9oLCC2K0ABgdlXGWf3PpcSKdFksQn51cM0c1ZbPviQM/XCZNd 9b7Jolg6Ahm2yKbjzFYAqV8R78RoBA== =r6aw -----END PGP SIGNATURE----- --aK7rrVWMnK4t2lDCU6QAo7bwJiBur0J9K--