]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
net: mdio-octeon: use platform_{get,set}_drvdata()
authorJingoo Han <jg1.han@samsung.com>
Mon, 2 Sep 2013 08:10:09 +0000 (17:10 +0900)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 Sep 2013 02:38:46 +0000 (22:38 -0400)
commit2c0c4fbe55ec6f798ce7289f10ff190ccadeb258
treed15f97c10c605d064eaef5edbd146bd23dd5ac37
parente04e37a88dcd674df131582b84ab2dc488397d53
net: mdio-octeon: 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/phy/mdio-octeon.c