Re: [PATCH] of/device: Replace struct of_device with struct of_platform

2010-08-19 Thread Grant Likely
On Thu, Aug 19, 2010 at 3:36 PM, Timur Tabi wrote: > Grant Likely wrote: >> On Thu, Aug 19, 2010 at 2:36 PM, Timur Tabi wrote: >>> On Sun, Aug 1, 2010 at 2:57 AM, Grant Likely >>> wrote: >>>  sound/soc/fsl/mpc8610_hpcd.c                  |    4 +- >>> >>> This file is/was significantly rew

Re: [PATCH] of/device: Replace struct of_device with struct of_platform

2010-08-19 Thread Timur Tabi
Grant Likely wrote: > On Thu, Aug 19, 2010 at 2:36 PM, Timur Tabi wrote: >> On Sun, Aug 1, 2010 at 2:57 AM, Grant Likely >> wrote: >> >>> sound/soc/fsl/mpc8610_hpcd.c |4 +- >> >> This file is/was significantly rewritten for 2.6.37. I posted a fix >> to the alsa mailing lis

Re: [PATCH] of/device: Replace struct of_device with struct of_platform

2010-08-19 Thread Grant Likely
On Thu, Aug 19, 2010 at 2:36 PM, Timur Tabi wrote: > On Sun, Aug 1, 2010 at 2:57 AM, Grant Likely > wrote: > >>  sound/soc/fsl/mpc8610_hpcd.c                  |    4 +- > > This file is/was significantly rewritten for 2.6.37.  I posted a fix > to the alsa mailing list, but it will conflict with

Re: [PATCH] of/device: Replace struct of_device with struct of_platform

2010-08-19 Thread Timur Tabi
On Sun, Aug 1, 2010 at 2:57 AM, Grant Likely wrote: >  sound/soc/fsl/mpc8610_hpcd.c                  |    4 +- This file is/was significantly rewritten for 2.6.37. I posted a fix to the alsa mailing list, but it will conflict with your patch. You might want to remove all changes to sound/soc/f

Re: [PATCH] of/device: Replace struct of_device with struct of_platform

2010-08-01 Thread Grant Likely
On Sun, Aug 1, 2010 at 2:05 AM, David Miller wrote: > > Subject should say "struct platform_device" not "struct of_platform", > I think :-) Gah! yup, will fix. Thanks. g. -- Grant Likely, B.Sc., P.Eng. Secret Lab Technologies Ltd. ___ Linuxppc-dev

Re: [PATCH] of/device: Replace struct of_device with struct of_platform

2010-08-01 Thread David Miller
Subject should say "struct platform_device" not "struct of_platform", I think :-) ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

[PATCH] of/device: Replace struct of_device with struct of_platform

2010-08-01 Thread Grant Likely
of_device is just an alias for platform_device, so remove it entirely. Also replace to_of_device() with to_platform_device(). This patch was initially generated from the following semantic patch, and then edited by hand to pick up the bits that coccinelle didn't catch. @@ @@ -struct of_device +s