aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2013-05-23 00:52:31 +0000
committerDavid S. Miller <davem@davemloft.net>2013-05-25 21:27:58 -0700
commit8513fbd880093f00a47e85a552f14ca2de8d84d6 (patch)
tree6f061e2e9b87983cd91688bff5238c730db79137 /include
parentnet: ipv6: Add IPv6 support to the ping socket. (diff)
downloadlinux-dev-8513fbd880093f00a47e85a552f14ca2de8d84d6.tar.xz
linux-dev-8513fbd880093f00a47e85a552f14ca2de8d84d6.zip
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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions