linux/drivers/net/ethernet
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
..
3com 3c59x: remove useless VORTEX_PCI() invocations 2013-05-20 13:34:20 -07:00
8390 net: ethernet: remove unnecessary platform_set_drvdata() 2013-05-27 22:34:51 -07:00
adaptec net: vlan: add protocol argument to packet tagging functions 2013-04-19 14:46:06 -04:00
adi net: ethernet: remove unnecessary platform_set_drvdata() 2013-05-27 22:34:51 -07:00
aeroflex net: ethernet: use platform_{get,set}_drvdata() 2013-05-25 21:27:58 -07:00
alteon net/ethernet/alteon/acenic: Use module_pci_driver to register driver 2013-05-22 14:35:04 -07:00
amd net: ethernet: remove unnecessary platform_set_drvdata() 2013-05-27 22:34:51 -07:00
apple net: Revert unused variable changes. 2013-05-23 12:15:32 -07:00
atheros net/ethernet/atheros/atlx/atl1: Use module_pci_driver to register driver 2013-05-22 14:35:03 -07:00
broadcom net: ethernet: remove unnecessary platform_set_drvdata() 2013-05-27 22:34:51 -07:00
brocade bna: Driver and Firmware Updated 2013-05-20 14:07:59 -07:00
cadence net: ethernet: remove unnecessary platform_set_drvdata() 2013-05-27 22:34:51 -07:00
calxeda net: ethernet: remove unnecessary platform_set_drvdata() 2013-05-27 22:34:51 -07:00
chelsio cxgb3: Check and handle the dma mapping errors 2013-05-23 00:03:54 -07:00
cirrus net: ethernet: remove unnecessary platform_set_drvdata() 2013-05-27 22:34:51 -07:00
cisco net: vlan: add protocol argument to packet tagging functions 2013-04-19 14:46:06 -04:00
davicom net: ethernet: remove unnecessary platform_set_drvdata() 2013-05-27 22:34:51 -07:00
dec net/ethernet/dec/tulip/xircom_cb: Use module_pci_driver to register driver 2013-05-22 14:35:03 -07:00
dlink
emulex be2net: Trim padded packets for Lancer 2013-05-27 22:27:02 -07:00
faraday net: ethernet: remove unnecessary platform_set_drvdata() 2013-05-27 22:34:51 -07:00
freescale net: ethernet: remove unnecessary platform_set_drvdata() 2013-05-27 22:34:51 -07:00
fujitsu Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2013-05-01 14:08:52 -07:00
hp
i825xx
ibm net: ethernet: use platform_{get,set}_drvdata() 2013-05-25 21:27:58 -07:00
icplus Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2013-05-24 16:48:28 -07:00
intel IXGBE: Set the SW prio_tc values at initialization to the HW setting. 2013-05-21 03:14:21 -07:00
marvell net: ethernet: remove unnecessary platform_set_drvdata() 2013-05-27 22:34:51 -07:00
mellanox net/mlx4: Strengthen VLAN tags/priorities enforcement in VST mode 2013-05-11 16:12:44 -07:00
micrel net: ethernet: remove unnecessary platform_set_drvdata() 2013-05-27 22:34:51 -07:00
microchip net: ethernet: enc28j60: use spi_get_drvdata() and spi_set_drvdata() 2013-04-07 16:48:19 -04:00
myricom net: vlan: add protocol argument to packet tagging functions 2013-04-19 14:46:06 -04:00
natsemi net: vlan: add protocol argument to packet tagging functions 2013-04-19 14:46:06 -04:00
neterion net: vlan: add protocol argument to packet tagging functions 2013-04-19 14:46:06 -04:00
nuvoton net: ethernet: remove unnecessary platform_set_drvdata() 2013-05-27 22:34:51 -07:00
nvidia net/ethernet/nvidia/forcedeth: Use module_pci_driver to register driver 2013-05-22 14:35:05 -07:00
nxp net: ethernet: remove unnecessary platform_set_drvdata() 2013-05-27 22:34:51 -07:00
octeon net: ethernet: use platform_{get,set}_drvdata() 2013-05-25 21:27:58 -07:00
oki-semi pch_gbe: minor: report the actual error on MTU change 2013-04-16 16:43:35 -04:00
packetengines
pasemi
qlogic qlcnic: Update version to 5.2.43 2013-05-24 23:05:05 -07:00
rdc
realtek 8139cp: reset BQL when ring tx ring cleared 2013-05-20 14:02:35 -07:00
renesas net: ethernet: remove unnecessary platform_set_drvdata() 2013-05-27 22:34:51 -07:00
seeq net: ethernet: remove unnecessary platform_set_drvdata() 2013-05-27 22:34:51 -07:00
sfc sfc: Reduce RX scatter buffer size, and reduce alignment if appropriate 2013-05-14 11:32:04 -07:00
sgi net: ethernet: remove unnecessary platform_set_drvdata() 2013-05-27 22:34:51 -07:00
silan net/ethernet/silan/sc92031: Use module_pci_driver to register driver 2013-05-22 14:35:03 -07:00
sis net/ethernet/sis/sis190: Use module_pci_driver to register driver 2013-05-22 14:35:03 -07:00
smsc net: ethernet: remove unnecessary platform_set_drvdata() 2013-05-27 22:34:51 -07:00
stmicro net: ethernet: remove unnecessary platform_set_drvdata() 2013-05-27 22:34:51 -07:00
sun net: ethernet: use platform_{get,set}_drvdata() 2013-05-25 21:27:58 -07:00
tehuti net: vlan: add protocol argument to packet tagging functions 2013-04-19 14:46:06 -04:00
ti net: ethernet: remove unnecessary platform_set_drvdata() 2013-05-27 22:34:51 -07:00
tile tile: support new Tilera hypervisor 2013-05-02 16:20:31 -04:00
toshiba net/ethernet/toshiba/tc35815: Use module_pci_driver to register driver 2013-05-22 14:35:04 -07:00
tundra net: ethernet: remove unnecessary platform_set_drvdata() 2013-05-27 22:34:51 -07:00
via net: velocity: Add platform device support to VIA velocity driver 2013-05-20 13:40:39 -07:00
wiznet net: ethernet: remove unnecessary platform_set_drvdata() 2013-05-27 22:34:51 -07:00
xilinx net: ethernet: use platform_{get,set}_drvdata() 2013-05-25 21:27:58 -07:00
xircom Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2013-05-01 14:08:52 -07:00
xscale net: ethernet: remove unnecessary platform_set_drvdata() 2013-05-27 22:34:51 -07:00
dnet.c
dnet.h
ethoc.c net: ethernet: remove unnecessary platform_set_drvdata() 2013-05-27 22:34:51 -07:00
fealnx.c
jme.c net: vlan: add protocol argument to packet tagging functions 2013-04-19 14:46:06 -04:00
jme.h
Kconfig
korina.c net: ethernet: remove unnecessary platform_set_drvdata() 2013-05-27 22:34:51 -07:00
lantiq_etop.c
Makefile
netx-eth.c net: ethernet: remove unnecessary platform_set_drvdata() 2013-05-27 22:34:51 -07:00
s6gmac.c net: ethernet: remove unnecessary platform_set_drvdata() 2013-05-27 22:34:51 -07:00