[PATCH RESEND 3/4] usb: phy-tegra-usb: use platform_{get,set}_drvdata()

2013-08-29 Thread Libo Chen
Use the wrapper functions for getting and setting the driver data using platform_device instead of using dev_{get,set}_drvdata() with &of->dev, so we can directly pass a struct platform_device. Signed-off-by: Libo Chen --- drivers/usb/phy/phy-tegra-usb.c |2 +- 1 files changed, 1 insertions

[PATCH RESEND 2/4] usb: r8a66597-hcd: use platform_{get,set}_drvdata()

2013-08-29 Thread Libo Chen
Use the wrapper functions for getting and setting the driver data using platform_device instead of using dev_{get,set}_drvdata() with &of->dev, so we can directly pass a struct platform_device. Signed-off-by: Libo Chen --- drivers/usb/host/r8a66597-hcd.c |4 ++-- 1 files changed, 2 insertio

Re: [PATCH 2/4] usb: r8a66597-hcd: use platform_{get,set}_drvdata()

2013-08-28 Thread Greg KH
On Thu, Aug 29, 2013 at 10:54:51AM +0800, Libo Chen wrote: > On 2013/8/28 12:36, Greg KH wrote: > > On Tue, Aug 27, 2013 at 04:10:22PM +0800, Libo Chen wrote: > >> > >> Use the wrapper functions for getting and setting the driver data using > >> platform_device instead of using dev_{get,set}_drvdat

Re: [PATCH 2/4] usb: r8a66597-hcd: use platform_{get,set}_drvdata()

2013-08-28 Thread Libo Chen
On 2013/8/28 12:36, Greg KH wrote: > On Tue, Aug 27, 2013 at 04:10:22PM +0800, Libo Chen wrote: >> >> 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_dev

Re: [PATCH 2/4] usb: r8a66597-hcd: use platform_{get,set}_drvdata()

2013-08-27 Thread Libo Chen
On 2013/8/28 12:36, Greg KH wrote: > On Tue, Aug 27, 2013 at 04:10:22PM +0800, Libo Chen wrote: >> >> 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_dev

Re: [PATCH 2/4] usb: r8a66597-hcd: use platform_{get,set}_drvdata()

2013-08-27 Thread Greg KH
On Tue, Aug 27, 2013 at 04:10:22PM +0800, Libo Chen wrote: > > 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 > --

Re: [PATCH 3/4] usb: phy-tegra-usb: use platform_{get,set}_drvdata()

2013-08-27 Thread Greg KH
On Tue, Aug 27, 2013 at 04:10:27PM +0800, Libo Chen wrote: > > 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 > --

Re: [PATCH 3/4] usb: phy-tegra-usb: use platform_{get,set}_drvdata()

2013-08-27 Thread Stephen Warren
On 08/27/2013 02:10 AM, Libo Chen wrote: > 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. Acked-by: Stephen Warren -- To unsubscribe from this l

[PATCH 0/4] usb: use platform_{get,set}_drvdata()

2013-08-27 Thread Libo Chen
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. Libo Chen (4): usb: fotg210-udc: use platform_{get,set}_drvdata() usb: r8a66597-h

[PATCH 1/4] usb: fotg210-udc: use platform_{get,set}_drvdata()

2013-08-27 Thread Libo Chen
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 --- drivers/usb/gadget/fotg210-udc.c |4 ++-- 1 files changed, 2 inser

[PATCH 3/4] usb: phy-tegra-usb: use platform_{get,set}_drvdata()

2013-08-27 Thread Libo Chen
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 --- drivers/usb/phy/phy-tegra-usb.c |2 +- 1 files changed, 1 insertio

[PATCH 4/4] usb: renesas_usbhs: use platform_{get,set}_drvdata()

2013-08-27 Thread Libo Chen
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 --- drivers/usb/renesas_usbhs/common.c |2 +- 1 files changed, 1 inser

[PATCH 2/4] usb: r8a66597-hcd: use platform_{get,set}_drvdata()

2013-08-27 Thread Libo Chen
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 --- drivers/usb/host/r8a66597-hcd.c |4 ++-- 1 files changed, 2 insert

[PATCH v4 7/7] net: davinci_mdio: use platform_{get,set}_drvdata()

2013-08-19 Thread Libo Chen
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 Acked-by: Mugunthan V N Acked-by: Lad, Prabhakar --- drivers/net/ethernet

[PATCH v4 4/7] net: sunbmac: use platform_{get,set}_drvdata()

2013-08-19 Thread Libo Chen
Use the wrapper functions for getting and setting the driver data using platform_device instead of using dev_{get,set}_drvdata() with &of->dev, so we can directly pass a struct platform_device. Signed-off-by: Libo Chen --- drivers/net/ethernet/sun/sunbmac.c |2 +- 1 files changed, 1 insertio

[PATCH v4 3/7] net: fec_mpc52xx_phy: use platform_{get,set}_drvdata()

2013-08-19 Thread Libo Chen
Use the wrapper functions for getting and setting the driver data using platform_device instead of using dev_{get,set}_drvdata() with &of->dev, so we can directly pass a struct platform_device. Signed-off-by: Libo Chen --- drivers/net/ethernet/freescale/fec_mpc52xx_phy.c |3 +-- 1 files chan

[PATCH v4 5/7] net: sunhme: use platform_{get,set}_drvdata()

2013-08-19 Thread Libo Chen
Use the wrapper functions for getting and setting the driver data using platform_device instead of using dev_{get,set}_drvdata() with &of->dev, so we can directly pass a struct platform_device. Signed-off-by: Libo Chen --- drivers/net/ethernet/sun/sunhme.c |2 +- 1 files changed, 1 insertion

[PATCH v4 1/7] net: fsl_pq_mdio: use platform_{get,set}_drvdata()

2013-08-19 Thread Libo Chen
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 --- drivers/net/ethernet/freescale/fsl_pq_mdio.c |2 +- 1 files change

Re: [PATCH RESEND 7/8] net: xilinx_emaclite: use platform_{get,set}_drvdata()

2013-08-19 Thread Michal Simek
On 08/14/2013 05:40 AM, Libo Chen wrote: > > We can use the wrapper functions platform_{get,set}_drvdata() instead of > dev_{get,set}_drvdata() with &of_dev->dev, it is convenient for user. > > Also, unnecessary dev_set_drvdata() is removed, because the driver core > clears the driver data to NUL

Re: [PATCH v3 7/7] net: davinci_mdio: use platform_{get,set}_drvdata()

2013-08-17 Thread Mugunthan V N
On Thursday 15 August 2013 06:31 PM, Libo Chen wrote: > 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 I had given m

Re: [PATCH v3 7/7] net: davinci_mdio: use platform_{get,set}_drvdata()

2013-08-16 Thread Prabhakar Lad
On Thu, Aug 15, 2013 at 6:31 PM, Libo Chen wrote: > 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 Acked-by: Lad,

Re: [PATCH v3 RESEND 5/7] net: sunhme: use platform_{get,set}_drvdata()

2013-08-16 Thread David Miller
You can't just update one patch and resend it by itself. You must resubmit the entire series. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please

[PATCH v3 RESEND 5/7] net: sunhme: use platform_{get,set}_drvdata()

2013-08-15 Thread Libo Chen
Use the wrapper functions for getting and setting the driver data using platform_device instead of using dev_{get,set}_drvdata() with &of_dev->dev, so we can directly pass a struct platform_device. changelog: remove modify about happy_meal_pci_probe && happy_meal_pci_remove Signed-off-by:

Re: [PATCH v3 6/7] net: xilinx_emaclite: use platform_{get,set}_drvdata()

2013-08-15 Thread Libo Chen
On 2013/8/16 6:23, David Miller wrote: > From: Libo Chen > Date: Thu, 15 Aug 2013 21:01:47 +0800 > >> Use the wrapper functions for getting and setting the driver data using >> platform_device instead of using dev_{get,set}_drvdata() with &of_dev->dev, >> so we can directly pass a struct platform

Re: [PATCH v3 6/7] net: xilinx_emaclite: use platform_{get,set}_drvdata()

2013-08-15 Thread David Miller
From: Libo Chen Date: Thu, 15 Aug 2013 21:01:47 +0800 > Use the wrapper functions for getting and setting the driver data using > platform_device instead of using dev_{get,set}_drvdata() with &of_dev->dev, > so we can directly pass a struct platform_device. > > Signed-off-by: Libo Chen Why did

[PATCH v3 5/7] net: sunhme: use platform_{get,set}_drvdata()

2013-08-15 Thread Libo Chen
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 --- drivers/net/ethernet/sun/sunhme.c |6 +++--- 1 files changed, 3 ins

[PATCH v3 6/7] net: xilinx_emaclite: use platform_{get,set}_drvdata()

2013-08-15 Thread Libo Chen
Use the wrapper functions for getting and setting the driver data using platform_device instead of using dev_{get,set}_drvdata() with &of_dev->dev, so we can directly pass a struct platform_device. Signed-off-by: Libo Chen --- drivers/net/ethernet/xilinx/xilinx_emaclite.c |3 +-- 1 files cha

[PATCH v3 7/7] net: davinci_mdio: use platform_{get,set}_drvdata()

2013-08-15 Thread Libo Chen
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 --- drivers/net/ethernet/ti/davinci_mdio.c |3 +-- 1 files changed, 1 i

[PATCH v3 4/7] net: sunbmac: use platform_{get,set}_drvdata()

2013-08-15 Thread Libo Chen
Use the wrapper functions for getting and setting the driver data using platform_device instead of using dev_{get,set}_drvdata() with &op->dev, so we can directly pass a struct platform_device. Signed-off-by: Libo Chen --- drivers/net/ethernet/sun/sunbmac.c |2 +- 1 files changed, 1 insertio

[PATCH v3 3/7] net: fec_mpc52xx_phy: use platform_{get,set}_drvdata()

2013-08-15 Thread Libo Chen
Use the wrapper functions for getting and setting the driver data using platform_device instead of using dev_{get,set}_drvdata() with &of->dev, so we can directly pass a struct platform_device. Signed-off-by: Libo Chen --- drivers/net/ethernet/freescale/fec_mpc52xx_phy.c |3 +-- 1 files chan

[PATCH v3 1/7] net: fsl_pq_mdio: use platform_{get,set}_drvdata()

2013-08-15 Thread Libo Chen
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 --- drivers/net/ethernet/freescale/fsl_pq_mdio.c |2 +- 1 files change

Re: [PATCH RESEND 1/8] net: fsl_pq_mdio: use platform_{get,set}_drvdata()

2013-08-15 Thread Libo Chen
On 2013/8/15 2:54, Sergei Shtylyov wrote: > Hello. > > On 08/14/2013 07:39 AM, Libo Chen wrote: > >> We can use the wrapper functions platform_{get,set}_drvdata() instead of >> dev_{get,set}_drvdata() with &pdev->dev, it is convenient for user. > >> Also, unnecessary dev_set_drvdata() is removed

Re: [PATCH RESEND 0/8] use platform_{get,set}_drvdata()

2013-08-14 Thread Sergei Shtylyov
On 08/14/2013 07:36 AM, Libo Chen wrote: We can use the wrapper functions platform_{get,set}_drvdata() instead of dev_{get,set}_drvdata() with &pdev->dev, it is convenient for user. Also, unnecessary dev_set_drvdata() is removed, because the driver core clears the driver data to NULL after devi

Re: [PATCH RESEND 1/8] net: fsl_pq_mdio: use platform_{get,set}_drvdata()

2013-08-14 Thread Sergei Shtylyov
Hello. On 08/14/2013 07:39 AM, Libo Chen wrote: We can use the wrapper functions platform_{get,set}_drvdata() instead of dev_{get,set}_drvdata() with &pdev->dev, it is convenient for user. Also, unnecessary dev_set_drvdata() is removed, because the driver core clears the driver data to NULL

[PATCH RESEND 1/8] net: fsl_pq_mdio: use platform_{get,set}_drvdata()

2013-08-13 Thread Libo Chen
We can use the wrapper functions platform_{get,set}_drvdata() instead of dev_{get,set}_drvdata() with &pdev->dev, it is convenient for user. 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

[PATCH RESEND 7/8] net: xilinx_emaclite: use platform_{get,set}_drvdata()

2013-08-13 Thread Libo Chen
We can use the wrapper functions platform_{get,set}_drvdata() instead of dev_{get,set}_drvdata() with &of_dev->dev, it is convenient for user. 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-o

[PATCH RESEND 8/8] net: davinci_mdio: use platform_{get,set}_drvdata()

2013-08-13 Thread Libo Chen
We can use the wrapper functions platform_{get,set}_drvdata() instead of dev_{get,set}_drvdata() with &pdev->dev, it is convenient for user. 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-of

[PATCH RESEND 6/8] net: sunhme: use platform_{get,set}_drvdata()

2013-08-13 Thread Libo Chen
We can use the wrapper functions platform_{get,set}_drvdata() instead of dev_{get,set}_drvdata() with &pdev->dev, it is convenient for user. 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

[PATCH RESEND 5/8] net: sunbmac: use platform_{get,set}_drvdata()

2013-08-13 Thread Libo Chen
We can use the wrapper functions platform_{get,set}_drvdata() instead of dev_{get,set}_drvdata() with &of->dev, it is convenient for user. 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-b

[PATCH RESEND 3/8] net: fec_mpc52xx_phy: use platform_{get,set}_drvdata()

2013-08-13 Thread Libo Chen
We can use the wrapper functions platform_{get,set}_drvdata() instead of dev_{get,set}_drvdata() with &of->dev, it is convenient for user. 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-b

[PATCH RESEND 2/8] net: ucc_geth: use platform_{get,set}_drvdata()

2013-08-13 Thread Libo Chen
We can use the wrapper functions platform_{get,set}_drvdata() instead of dev_{get,set}_drvdata() with &ofdev->dev, it is convenient for user. 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-of

[PATCH RESEND 0/8] use platform_{get,set}_drvdata()

2013-08-13 Thread Libo Chen
angelog: this version add modify record about dev_set_drvdata(). Libo Chen (8): 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: fs_enet: remove unnecessary dev_set_drvdata(

Re: [PATCH 8/8] net: davinci_mdio: use platform_{get,set}_drvdata()

2013-08-12 Thread Libo Chen
On 2013/8/13 2:17, Sergei Shtylyov wrote: > On 08/12/2013 05:25 PM, Libo Chen wrote: > >> 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. > >>

Re: [PATCH 8/8] net: davinci_mdio: use platform_{get,set}_drvdata()

2013-08-12 Thread Libo Chen
On 2013/8/13 4:04, David Miller wrote: > From: Sergei Shtylyov > Date: Mon, 12 Aug 2013 22:17:47 +0400 > >>Doesn't get described as well. I think you're mixing two types of >>changes in one patchset. > > Agreed, you're going to have to redo this entire patch set. > okay, I will redo!

Re: [PATCH 8/8] net: davinci_mdio: use platform_{get,set}_drvdata()

2013-08-12 Thread David Miller
From: Sergei Shtylyov Date: Mon, 12 Aug 2013 22:17:47 +0400 >Doesn't get described as well. I think you're mixing two types of >changes in one patchset. Agreed, you're going to have to redo this entire patch set. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel"

Re: [PATCH 8/8] net: davinci_mdio: use platform_{get,set}_drvdata()

2013-08-12 Thread Sergei Shtylyov
On 08/12/2013 05:25 PM, Libo Chen wrote: 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 --- drivers/net/ethernet/ti/

Re: [PATCH 4/8] net: fs_enet: use platform_{get,set}_drvdata()

2013-08-12 Thread Sergei Shtylyov
On 08/12/2013 05:24 PM, Libo Chen wrote: 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 --- .../net/ethernet/freesca

Re: [PATCH 1/8] net: fsl_pq_mdio: use platform_{get,set}_drvdata()

2013-08-12 Thread Sergei Shtylyov
Hello. On 08/12/2013 05:24 PM, Libo Chen wrote: 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 --- drivers/net/ethe

Re: [PATCH 8/8] net: davinci_mdio: use platform_{get,set}_drvdata()

2013-08-12 Thread Mugunthan V N
On Monday 12 August 2013 06:55 PM, Libo Chen wrote: > 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 Looks good. Ack

Re: [PATCH 7/8] net: xilinx_emaclite: use platform_{get,set}_drvdata()

2013-08-12 Thread Michal Simek
On 08/12/2013 03:25 PM, Libo Chen wrote: > > 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 > --- > drivers/net/e

[PATCH 6/8] net: sunhme: use platform_{get,set}_drvdata()

2013-08-12 Thread Libo Chen
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 --- drivers/net/ethernet/sun/sunhme.c |8 +++- 1 files changed, 3

[PATCH 1/8] net: fsl_pq_mdio: use platform_{get,set}_drvdata()

2013-08-12 Thread Libo Chen
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 --- drivers/net/ethernet/freescale/fsl_pq_mdio.c |3 +-- 1 files chang

[PATCH 8/8] net: davinci_mdio: use platform_{get,set}_drvdata()

2013-08-12 Thread Libo Chen
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 --- drivers/net/ethernet/ti/davinci_mdio.c |4 +--- 1 files changed, 1

[PATCH 7/8] net: xilinx_emaclite: use platform_{get,set}_drvdata()

2013-08-12 Thread Libo Chen
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 --- drivers/net/ethernet/xilinx/xilinx_emaclite.c |4 +--- 1 files cha

[PATCH 5/8] net: sunbmac: use platform_{get,set}_drvdata()

2013-08-12 Thread Libo Chen
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 --- drivers/net/ethernet/sun/sunbmac.c |3 +-- 1 files changed, 1 inser

[PATCH 4/8] net: fs_enet: use platform_{get,set}_drvdata()

2013-08-12 Thread Libo Chen
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 --- .../net/ethernet/freescale/fs_enet/fs_enet-main.c |1 - 1 files ch

[PATCH 2/8] net: ucc_geth: use platform_{get,set}_drvdata()

2013-08-12 Thread Libo Chen
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 --- drivers/net/ethernet/freescale/ucc_geth.c |4 +--- 1 files changed,

[PATCH 3/8] net: fec_mpc52xx_phy: use platform_{get,set}_drvdata()

2013-08-12 Thread Libo Chen
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 --- drivers/net/ethernet/freescale/fec_mpc52xx_phy.c |4 +--- 1 files

use platform_{get,set}_drvdata()

2013-08-12 Thread Libo Chen
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. Libo Chen (8): net: fsl_pq_mdio: use platform_{get,set}_drvdata() net: ucc_geth: use pl

Re: [PATCH] power: use platform_{get,set}_drvdata()

2013-06-06 Thread Anton Vorontsov
On Thu, May 23, 2013 at 07:34:39PM +0900, Jingoo Han wrote: > 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: Jingoo Han > ---

Re: [PATCH V2] hwrng: use platform_{get,set}_drvdata()

2013-06-05 Thread Herbert Xu
On Wed, May 29, 2013 at 09:47:29AM +0900, Jingoo Han wrote: > 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_drvdat

[PATCH V2] rtc: rtc-mpc5121: use platform_{get,set}_drvdata()

2013-05-29 Thread Jingoo Han
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: Jingoo Han --- Changes since v1: - fixed conflicts with rtc-rtc-mpc5121-use-devm_-func

[PATCH V2] hwrng: use platform_{get,set}_drvdata()

2013-05-28 Thread Jingoo Han
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

Re: [PATCH] hwrng: use platform_{get,set}_drvdata()

2013-05-28 Thread Jingoo Han
On Tuesday, May 28, 2013 6:16 PM, Herbert Xu wrote: > On Thu, May 23, 2013 at 07:27:26PM +0900, Jingoo Han wrote: > > 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 s

Re: [PATCH] hwrng: use platform_{get,set}_drvdata()

2013-05-28 Thread Herbert Xu
On Thu, May 23, 2013 at 07:27:26PM +0900, Jingoo Han wrote: > 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_drvdat

Re: [PATCH 3/5] watchdog: da9055: use platform_{get,set}_drvdata()

2013-05-26 Thread Wim Van Sebroeck
Hi Jingoo, > 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: Jingoo Han > --- > drivers/watchdog/da9055_wdt.c |4 ++-- >

Re: [PATCH 2/5] watchdog: da9052: use platform_{get,set}_drvdata()

2013-05-26 Thread Wim Van Sebroeck
Hi Jingoo, > 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: Jingoo Han > --- > drivers/watchdog/da9052_wdt.c |4 ++-- >

Re: [PATCH 1/5] watchdog: cpwd: use platform_{get,set}_drvdata()

2013-05-26 Thread Wim Van Sebroeck
Hi Jingoo, > 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: Jingoo Han > --- > drivers/watchdog/cpwd.c |4 ++-- > 1 fil

Re: [PATCH 5/5] watchdog: wm831x: use platform_{get,set}_drvdata()

2013-05-26 Thread Wim Van Sebroeck
Hi Jingoo, > 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: Jingoo Han > --- > drivers/watchdog/wm831x_wdt.c |4 ++-- >

Re: [PATCH 4/5] watchdog: riowd: use platform_{get,set}_drvdata()

2013-05-25 Thread Wim Van Sebroeck
Hi Jingoo, > 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: Jingoo Han > --- > drivers/watchdog/riowd.c |4 ++-- > 1 fi

Re: [PATCH 5/5] watchdog: wm831x: use platform_{get,set}_drvdata()

2013-05-24 Thread Guenter Roeck
On Thu, May 23, 2013 at 07:44:53PM +0900, Jingoo Han wrote: > 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: Jingoo Han Revi

Re: [PATCH 4/5] watchdog: riowd: use platform_{get,set}_drvdata()

2013-05-24 Thread Guenter Roeck
On Thu, May 23, 2013 at 07:44:38PM +0900, Jingoo Han wrote: > 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: Jingoo Han Revi

Re: [PATCH 3/5] watchdog: da9055: use platform_{get,set}_drvdata()

2013-05-24 Thread Guenter Roeck
On Thu, May 23, 2013 at 07:44:23PM +0900, Jingoo Han wrote: > 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: Jingoo Han Revi

Re: [PATCH 2/5] watchdog: da9052: use platform_{get,set}_drvdata()

2013-05-24 Thread Guenter Roeck
On Thu, May 23, 2013 at 07:44:09PM +0900, Jingoo Han wrote: > 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: Jingoo Han Revi

Re: [PATCH 1/5] watchdog: cpwd: use platform_{get,set}_drvdata()

2013-05-24 Thread Guenter Roeck
On Thu, May 23, 2013 at 07:43:43PM +0900, Jingoo Han wrote: > 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: Jingoo Han Revi

Re: [PATCH] dma: use platform_{get,set}_drvdata()

2013-05-23 Thread Vinod Koul
On Fri, May 24, 2013 at 10:10:13AM +0900, Jingoo Han wrote: > 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_drvdat

[PATCH] dma: use platform_{get,set}_drvdata()

2013-05-23 Thread Jingoo Han
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

[PATCH 4/5] watchdog: riowd: use platform_{get,set}_drvdata()

2013-05-23 Thread Jingoo Han
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: Jingoo Han --- drivers/watchdog/riowd.c |4 ++-- 1 file changed, 2 insertions(+),

[PATCH 5/5] watchdog: wm831x: use platform_{get,set}_drvdata()

2013-05-23 Thread Jingoo Han
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: Jingoo Han --- drivers/watchdog/wm831x_wdt.c |4 ++-- 1 file changed, 2 insertion

[PATCH 3/5] watchdog: da9055: use platform_{get,set}_drvdata()

2013-05-23 Thread Jingoo Han
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: Jingoo Han --- drivers/watchdog/da9055_wdt.c |4 ++-- 1 file changed, 2 insertion

[PATCH 2/5] watchdog: da9052: use platform_{get,set}_drvdata()

2013-05-23 Thread Jingoo Han
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: Jingoo Han --- drivers/watchdog/da9052_wdt.c |4 ++-- 1 file changed, 2 insertion

[PATCH 1/5] watchdog: cpwd: use platform_{get,set}_drvdata()

2013-05-23 Thread Jingoo Han
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: Jingoo Han --- drivers/watchdog/cpwd.c |4 ++-- 1 file changed, 2 insertions(+),

[PATCH 3/3] rtc: rtc-rc5t583: use platform_{get,set}_drvdata()

2013-05-23 Thread Jingoo Han
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: Jingoo Han --- drivers/rtc/rtc-rc5t583.c |2 +- 1 file changed, 1 insertion(+), 1

[PATCH 2/3] rtc: rtc-mpc5121: use platform_{get,set}_drvdata()

2013-05-23 Thread Jingoo Han
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: Jingoo Han --- drivers/rtc/rtc-mpc5121.c |5 ++--- 1 file changed, 2 insertions(+

[PATCH 1/3] rtc: rtc-coh901331: use platform_{get,set}_drvdata()

2013-05-23 Thread Jingoo Han
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: Jingoo Han --- drivers/rtc/rtc-coh901331.c |4 ++-- 1 file changed, 2 insertions(

[PATCH] misc: use platform_{get,set}_drvdata()

2013-05-23 Thread Jingoo Han
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: Jingoo Han --- drivers/misc/carma/carma-fpga-program.c |4 ++-- drivers/misc/carm

[PATCH] power: use platform_{get,set}_drvdata()

2013-05-23 Thread Jingoo Han
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: Jingoo Han --- drivers/power/intel_mid_battery.c |2 +- drivers/power/tps65090-ch

[PATCH] hwrng: use platform_{get,set}_drvdata()

2013-05-23 Thread Jingoo Han
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