diff options
| author | 2013-08-21 18:15:15 +0800 | |
|---|---|---|
| committer | 2013-08-21 20:51:11 -0700 | |
| commit | f8825669b3165bbf4380eabfd641f693d02af866 (patch) | |
| tree | c1c04dd0190e58dae62c71da3bab1947af56c1ff /include/linux | |
| parent | net: irda: pxaficp_ir: use platform_set_drvdata() (diff) | |
net: phy: mdio-octeon: use platform_set_drvdata()
Use the wrapper functions for getting and setting the driver data using
platform_device instead of using dev_set_drvdata() with &pdev->dev,
so we can directly pass a struct platform_device.
Signed-off-by: Libo Chen <libo.chen@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
