OpenCloudOS-Kernel/drivers/net/ethernet/seeq
Jingoo Han dfd93c977d net: ethernet: remove unnecessary platform_set_drvdata()
The driver core clears the driver data to NULL after device_release
or on probe failure, since commit 0998d06310
(device-core: Ensure drvdata = NULL when no driver is bound).
Thus, it is not needed to manually clear the device driver data to NULL.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Acked-by: Rob Herring <rob.herring@calxeda.com>
Acked-by: Roland Stigge <stigge@antcom.de>
Acked-by: Mugunthan V N <mugunthanvnm@ti.com>
Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Tested-by: Roland Stigge <stigge@antcom.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-05-27 22:34:51 -07:00
..
Kconfig Driver core patches for 3.9-rc1 2013-02-21 12:05:51 -08:00
Makefile drivers/net: delete old x86 variant of the seeq8005 driver 2013-01-22 10:39:56 -05:00
ether3.c drivers:net: Remove unnecessary OOM messages after netdev_alloc_skb 2013-03-09 16:09:19 -05:00
ether3.h seeq: Move the SEEQ drivers 2011-08-12 00:21:43 -07:00
sgiseeq.c net: ethernet: remove unnecessary platform_set_drvdata() 2013-05-27 22:34:51 -07:00
sgiseeq.h seeq: Move the SEEQ drivers 2011-08-12 00:21:43 -07:00