Re: [PATCH] w1: mxc_w1: remove unnecessary platform_set_drvdata()

2013-08-22 Thread Shawn Guo
On Thu, Aug 22, 2013 at 11:20:58AM +0900, Jingoo Han wrote: > The driver core clears the driver data to NULL after device_release > or on probe failure. Thus, it is not needed to manually clear the > device driver data to NULL. > > Signed-off-by: Jingoo Han Acked-by: Shawn Guo > --- > drivers

[PATCH] w1: mxc_w1: remove unnecessary platform_set_drvdata()

2013-08-21 Thread Jingoo Han
The driver core clears the driver data to NULL after device_release or on probe failure. Thus, it is not needed to manually clear the device driver data to NULL. Signed-off-by: Jingoo Han --- drivers/w1/masters/mxc_w1.c |2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/w1/masters/m