linux_dsm_epyc7002/drivers/net/ethernet/sun
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
..
cassini.c drivers/net: fix up function prototypes after __dev* removals 2012-12-07 14:22:22 -05:00
cassini.h
Kconfig Merge branch 'akpm' (incoming from Andrew) 2013-02-21 17:38:49 -08:00
Makefile
niu.c net: ethernet: use platform_{get,set}_drvdata() 2013-05-25 21:27:58 -07:00
niu.h
sunbmac.c net: ethernet: sun: initialize variables directly 2013-05-17 13:55:43 -07:00
sunbmac.h
sungem.c net/ethernet/sun/sungem: Use module_pci_driver to register driver 2013-05-22 14:35:05 -07:00
sungem.h
sunhme.c net: ethernet: use platform_{get,set}_drvdata() 2013-05-25 21:27:58 -07:00
sunhme.h sunhme: stop using net_device.{base_addr, irq}. 2012-04-07 11:47:03 +02:00
sunqe.c net: ethernet: use platform_{get,set}_drvdata() 2013-05-25 21:27:58 -07:00
sunqe.h
sunvnet.c hlist: drop the node parameter from iterators 2013-02-27 19:10:24 -08:00
sunvnet.h