From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marc Kleine-Budde Subject: Re: [PATCH 03/36] net: can: flexcan: remove unnecessary platform_set_drvdata() Date: Tue, 07 May 2013 09:08:03 +0200 Message-ID: <5188A853.7060802@pengutronix.de> References: <001301ce4ad9$8e7f2920$ab7d7b60$@samsung.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="----enig2UKFBQARFHFMTSHXOBWDJ" Cc: "'David S. Miller'" , netdev@vger.kernel.org, 'Fabio Baltieri' To: Jingoo Han Return-path: Received: from metis.ext.pengutronix.de ([92.198.50.35]:40228 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758185Ab3EGHIK (ORCPT ); Tue, 7 May 2013 03:08:10 -0400 In-Reply-To: <001301ce4ad9$8e7f2920$ab7d7b60$@samsung.com> Sender: netdev-owner@vger.kernel.org List-ID: This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2UKFBQARFHFMTSHXOBWDJ Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable On 05/07/2013 06:15 AM, Jingoo Han wrote: > The driver core clears the driver data to NULL after device_release > or on probe failure, since commit 0998d0631001288a5974afc0b2a5f568bcdec= b4d > (device-core: Ensure drvdata =3D NULL when no driver is bound). > Thus, it is not needed to manually clear the device driver data to NULL= =2E >=20 > Signed-off-by: Jingoo Han Acked-by: Marc Kleine-Budde 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 | ------enig2UKFBQARFHFMTSHXOBWDJ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlGIqFMACgkQjTAFq1RaXHMT7ACfeXAOvj5LCe4x6C8t+5tHwksV VqUAmQFysO25acefjchH8kWGCYbTQohf =b4gL -----END PGP SIGNATURE----- ------enig2UKFBQARFHFMTSHXOBWDJ--