OpenCloudOS-Kernel/drivers/net/ethernet/8390
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
..
8390.c net: remove use of ndo_set_multicast_list in drivers 2011-08-17 20:22:03 -07:00
8390.h ethernet: Convert ETHER_ADDR_LEN uses to ETH_ALEN 2011-11-16 20:23:17 -05:00
8390p.c net: remove use of ndo_set_multicast_list in drivers 2011-08-17 20:22:03 -07:00
Kconfig Driver core patches for 3.9-rc1 2013-02-21 12:05:51 -08:00
Makefile drivers/net: delete the really obsolete 8390 based 10Mbit ISA drivers 2013-01-22 10:39:54 -05:00
apne.c ethernet: Remove casts to same type 2012-06-06 09:31:33 -07:00
ax88796.c net: ax88796: avoid 64 bit arithmetic 2013-04-19 17:57:48 -04:00
axnet_cs.c drivers/net: use module_pcmcia_driver() in pcmcia drivers 2013-03-15 12:27:33 -07:00
etherh.c 8390: remove __dev* attributes 2012-12-03 11:16:32 -08:00
hydra.c drivers/net: fix up function prototypes after __dev* removals 2012-12-07 14:22:22 -05:00
lib8390.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
mac8390.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
mcf8390.c net: add support for NS8390 based eth controllers on some ColdFire CPU boards 2012-07-12 07:54:45 -07:00
ne-h8300.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
ne.c net: ethernet: remove unnecessary platform_set_drvdata() 2013-05-27 22:34:51 -07:00
ne2k-pci.c remove init of dev->perm_addr in drivers 2013-01-08 18:00:48 -08:00
pcnet_cs.c drivers/net: use module_pcmcia_driver() in pcmcia drivers 2013-03-15 12:27:33 -07:00
smc-ultra.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
stnic.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
wd.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
zorro8390.c drivers/net: fix up function prototypes after __dev* removals 2012-12-07 14:22:22 -05:00