2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-25 05:34:00 +08:00
linux-next/drivers/net/ethernet/amd
Jingoo Han 8513fbd880 net: ethernet: use platform_{get,set}_drvdata()
Use the wrapper functions for getting and setting the driver data using
platform_device instead of using dev_{get,set}_drvdata() with &pdev->dev,
so we can directly pass a struct platform_device.

Also, unnecessary dev_set_drvdata() is removed, because the driver core
clears the driver data to NULL after device_release or on probe failure.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-05-25 21:27:58 -07:00
..
7990.c drivers:net: Remove unnecessary OOM messages after netdev_alloc_skb 2013-03-09 16:09:19 -05:00
7990.h
a2065.c drivers:net: Remove unnecessary OOM messages after netdev_alloc_skb 2013-03-09 16:09:19 -05:00
a2065.h
am79c961a.c drivers:net: Remove unnecessary OOM messages after netdev_alloc_skb 2013-03-09 16:09:19 -05:00
am79c961a.h drivers/net: fix up stale paths from driver reorg 2012-01-30 12:54:40 -05:00
amd8111e.c net/ethernet/amd/amd8111e: Use module_pci_driver to register driver 2013-05-22 14:35:05 -07:00
amd8111e.h module_param: make bool parameters really bool (net & drivers/net) 2011-12-19 22:27:29 -05:00
ariadne.c drivers:net: Remove unnecessary OOM messages after netdev_alloc_skb 2013-03-09 16:09:19 -05:00
ariadne.h
atarilance.c ethernet: amd: use PTR_RET instead of IS_ERR + PTR_ERR 2013-03-12 06:57:22 -04:00
au1000_eth.c drivers:net: Remove unnecessary OOM messages after netdev_alloc_skb 2013-03-09 16:09:19 -05:00
au1000_eth.h
declance.c drivers:net: Remove unnecessary OOM messages after netdev_alloc_skb 2013-03-09 16:09:19 -05:00
hplance.c drivers/net: fix up function prototypes after __dev* removals 2012-12-07 14:22:22 -05:00
hplance.h
Kconfig drivers/net: delete old DEC depca ISA drivers support. 2013-01-22 10:39:55 -05:00
lance.c lance: remove unnecessary setting of skb->dev 2012-07-10 23:24:56 -07:00
Makefile drivers/net: delete old DEC depca ISA drivers support. 2013-01-22 10:39:55 -05:00
mvme147.c ethernet: amd: use PTR_RET instead of IS_ERR + PTR_ERR 2013-03-12 06:57:22 -04:00
ni65.c ethernet: amd: use PTR_RET instead of IS_ERR + PTR_ERR 2013-03-12 06:57:22 -04:00
ni65.h
nmclan_cs.c drivers/net: use module_pcmcia_driver() in pcmcia drivers 2013-03-15 12:27:33 -07:00
pcnet32.c drivers:net: Remove unnecessary OOM messages after netdev_alloc_skb 2013-03-09 16:09:19 -05:00
sun3lance.c ethernet: amd: use PTR_RET instead of IS_ERR + PTR_ERR 2013-03-12 06:57:22 -04:00
sunlance.c net: ethernet: use platform_{get,set}_drvdata() 2013-05-25 21:27:58 -07:00