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/xilinx
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
..
Kconfig net: ethernet: xilinx: Do not use axienet on PPC 2013-01-10 14:28:26 -08:00
ll_temac_main.c net: ethernet: use platform_{get,set}_drvdata() 2013-05-25 21:27:58 -07:00
ll_temac_mdio.c
ll_temac.h
Makefile drivers/net/ethernet/xilinx: added Xilinx AXI Ethernet driver 2012-01-25 16:59:47 -05:00
xilinx_axienet_main.c net: ethernet: use platform_{get,set}_drvdata() 2013-05-25 21:27:58 -07:00
xilinx_axienet_mdio.c drivers/net/ethernet/xilinx/axi ethernet: Correct Copyright 2012-04-13 13:58:42 -04:00
xilinx_axienet.h drivers/net/ethernet/xilinx/axi ethernet: Correct Copyright 2012-04-13 13:58:42 -04:00
xilinx_emaclite.c net/xilinx: remove __dev* attributes 2012-12-03 11:16:56 -08:00