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

2013-05-03 Thread Mark Brown
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

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

2013-05-03 Thread Axel Lin
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. Signed-off-by: Axel Lin --- drivers/regulator/88pm8607.c | 1 - drive