]> git.baikalelectronics.ru Git - kernel.git/commit
net: emac: use platform_{get,set}_drvdata()
authorJingoo Han <jg1.han@samsung.com>
Mon, 2 Sep 2013 08:06:52 +0000 (17:06 +0900)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 Sep 2013 02:38:45 +0000 (22:38 -0400)
commitab7185cf8d7846f8a1a8c97ecab9a90ecd1d4fcb
tree6dfec1bac82a1e2e851b3b832ca1adf0dc4a1adc
parentf714e329f3207b9fc0019b81b8d561c8a8a2976d
net: emac: 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.
This is a purely cosmetic change.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ibm/emac/core.c