Searched hist:a0e18600 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/net/ethernet/freescale/ |
H A D | fsl_pq_mdio.c | a0e18600 Mon Aug 19 06:58:40 CDT 2013 Libo Chen <clbchenlibo.chen@huawei.com> net: fsl_pq_mdio: 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.
Signed-off-by: Libo Chen <libo.chen@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net> a0e18600 Mon Aug 19 06:58:40 CDT 2013 Libo Chen <clbchenlibo.chen@huawei.com> net: fsl_pq_mdio: 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. Signed-off-by: Libo Chen <libo.chen@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|