Re: [RFC/PATCH 04/14] OMAP: McBSP: use existing macros for converting between devices

2011-08-30 Thread Jarkko Nikula
Hi On Tue, 09 Aug 2011 19:10:22 +0500 G, Manjunath Kondaiah manj...@ti.com wrote: From: Kevin Hilman khil...@ti.com For converting from struct device to platform_device, and from platform_device to struct device, there are existing macros. Use them instead of manual use of container_of().

Re: [RFC/PATCH 04/14] OMAP: McBSP: use existing macros for converting between devices

2011-08-10 Thread Cousson, Benoit
Manju, On 8/10/2011 9:07 AM, Jarkko Nikula wrote: Hi On Tue, 09 Aug 2011 19:10:22 +0500 G, Manjunath Kondaiahmanj...@ti.com wrote: From: Kevin Hilmankhil...@ti.com For converting from struct device to platform_device, and from platform_device to struct device, there are existing macros.

Re: [RFC/PATCH 04/14] OMAP: McBSP: use existing macros for converting between devices

2011-08-10 Thread G, Manjunath Kondaiah
On Wed, Aug 10, 2011 at 12:15:50PM +0200, Cousson, Benoit wrote: Manju, On 8/10/2011 9:07 AM, Jarkko Nikula wrote: Hi On Tue, 09 Aug 2011 19:10:22 +0500 G, Manjunath Kondaiahmanj...@ti.com wrote: From: Kevin Hilmankhil...@ti.com For converting from struct device to platform_device,

[RFC/PATCH 04/14] OMAP: McBSP: use existing macros for converting between devices

2011-08-09 Thread G, Manjunath Kondaiah
From: Kevin Hilman khil...@ti.com For converting from struct device to platform_device, and from platform_device to struct device, there are existing macros. Use them instead of manual use of container_of(). Signed-off-by: Kevin Hilman khil...@ti.com --- arch/arm/plat-omap/mcbsp.c |6