Re: [PATCH] mfd: mc13xxx: remove unnecessary spi_set_drvdata()

2013-11-25 Thread Lee Jones
On Mon, 25 Nov 2013, 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 > --- > drivers/mfd/mc13xxx-spi.c |1 - > 1 file chang

[PATCH] mfd: mc13xxx: remove unnecessary spi_set_drvdata()

2013-11-24 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/mfd/mc13xxx-spi.c |1 - 1 file changed, 1 deletion(-) diff --git a/drivers/mfd/mc13xxx-spi.