[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <5188A853.7060802@pengutronix.de>
Date: Tue, 07 May 2013 09:08:03 +0200
From: Marc Kleine-Budde <mkl@...gutronix.de>
To: Jingoo Han <jg1.han@...sung.com>
CC: "'David S. Miller'" <davem@...emloft.net>, netdev@...r.kernel.org,
'Fabio Baltieri' <fabio.baltieri@...il.com>
Subject: Re: [PATCH 03/36] net: can: flexcan: remove unnecessary platform_set_drvdata()
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 0998d0631001288a5974afc0b2a5f568bcdecb4d
> (device-core: Ensure drvdata = NULL when no driver is bound).
> Thus, it is not needed to manually clear the device driver data to NULL.
>
> Signed-off-by: Jingoo Han <jg1.han@...sung.com>
Acked-by: Marc Kleine-Budde <mkl@...gutronix.de>
Marc
--
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 |
Download attachment "signature.asc" of type "application/pgp-signature" (264 bytes)
Powered by blists - more mailing lists