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/ibm
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
..
ehea net: ethernet: use platform_{get,set}_drvdata() 2013-05-25 21:27:58 -07:00
emac net: ethernet: use platform_{get,set}_drvdata() 2013-05-25 21:27:58 -07:00
ibmveth.c net/eth/ibmveth: Fixup retrieval of MAC address 2013-05-05 16:58:02 -04:00
ibmveth.h ehea/ibm*: Move the IBM drivers 2011-08-11 02:41:59 -07:00
Kconfig ehea: Remove remnants of LRO support 2012-11-19 19:13:59 -05:00
Makefile net: powerpc: remove the legacy iSeries ethernet driver 2012-03-09 23:41:26 -05:00