* [PATCH v4 0/7] net: use platform_{get,set}_drvdata()
@ 2013-08-19 11:58 Libo Chen
2013-08-21 0:19 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Libo Chen @ 2013-08-19 11:58 UTC (permalink / raw)
To: David Miller
Cc: netdev, Li Zefan, leoli, linuxppc-dev, pantelis.antoniou,
vbordug, Greg KH, jg1.han, Sergei Shtylyov
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.
changelog v4:
remove modify about happy_meal_pci_probe && happy_meal_pci_remove
changelog v3:
remove modify about dev_set_drvdata()
changelog v2:
this version add modify record about dev_set_drvdata().
Libo Chen (7):
net: fsl_pq_mdio: use platform_{get,set}_drvdata()
net: ucc_geth: use platform_{get,set}_drvdata()
net: fec_mpc52xx_phy: use platform_{get,set}_drvdata()
net: sunbmac: use platform_{get,set}_drvdata()
net: sunhme: use platform_{get,set}_drvdata()
net: xilinx_emaclite: use platform_{get,set}_drvdata()
net: davinci_mdio: use platform_{get,set}_drvdata()
drivers/net/ethernet/freescale/fec_mpc52xx_phy.c | 3 +--
drivers/net/ethernet/freescale/fsl_pq_mdio.c | 2 +-
drivers/net/ethernet/freescale/ucc_geth.c | 3 +--
drivers/net/ethernet/sun/sunbmac.c | 2 +-
drivers/net/ethernet/sun/sunhme.c | 2 +-
drivers/net/ethernet/ti/davinci_mdio.c | 3 +--
drivers/net/ethernet/xilinx/xilinx_emaclite.c | 3 +--
7 files changed, 7 insertions(+), 11 deletions(-)
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH v4 0/7] net: use platform_{get,set}_drvdata()
2013-08-19 11:58 [PATCH v4 0/7] net: use platform_{get,set}_drvdata() Libo Chen
@ 2013-08-21 0:19 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2013-08-21 0:19 UTC (permalink / raw)
To: clbchenlibo.chen
Cc: netdev, lizefan, leoli, linuxppc-dev, pantelis.antoniou, vbordug,
gregkh, jg1.han, sergei.shtylyov
From: Libo Chen <clbchenlibo.chen@huawei.com>
Date: Mon, 19 Aug 2013 19:58:17 +0800
>
> 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.
>
> changelog v4:
> remove modify about happy_meal_pci_probe && happy_meal_pci_remove
> changelog v3:
> remove modify about dev_set_drvdata()
> changelog v2:
> this version add modify record about dev_set_drvdata().
Series applied.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-08-21 0:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-19 11:58 [PATCH v4 0/7] net: use platform_{get,set}_drvdata() Libo Chen
2013-08-21 0:19 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).