Re: [PATCH] regulator: Remove all platform_set_drvdata(pdev, NULL)in drivers

From: Mark Brown
Date: Fri May 03 2013 - 09:19:36 EST


On Fri, May 03, 2013 at 08:46:10PM +0800, Axel Lin wrote:
> Since 0998d06310 "device-core: Ensure drvdata = NULL when no driver is bound",
> this is done by driver core after device_release or on probe failure.
> Thus we can remove all platform_set_drvdata(pdev, NULL) in drivers.

Applied, but note that this is nothing to do with the above commit - it
has always been a bug for drivers to rely on drvdata except while bound
so any driver that relied on clearing it was buggy.

Attachment: signature.asc
Description: Digital signature