Re: [PATCH -next] net: emac: remove unnecessary dev_set_drvdata()

2016-09-16 Thread David Miller
From: Wei Yongjun Date: Thu, 15 Sep 2016 02:25:52 + > From: Wei Yongjun > > 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: Wei Yongjun Applied.

[PATCH -next] net: emac: remove unnecessary dev_set_drvdata()

2016-09-14 Thread Wei Yongjun
From: Wei Yongjun 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: Wei Yongjun --- drivers/net/ethernet/qualcomm/emac/emac.c | 1 - 1 file changed, 1 deletion(-) dif