[PATCH 08/26] mtd: maps: ixp4xx: remove unnecessary platform_set_drvdata()

Marc Kleine-Budde mkl at blackshift.org
Tue May 7 02:49:17 EDT 2013


On 05/07/2013 08:31 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 at samsung.com>
Acked-by: Marc Kleine-Budde <mkl at blackshift.org>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 901 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/linux-mtd/attachments/20130507/de53388a/attachment.sig>


More information about the linux-mtd mailing list