On Wed, 6 Jul 2011, Kevin Hilman wrote: > The omap_device layer currently has two ways of getting an omap_device > pointer from a platform_device pointer. > > Replace current usage of _find_by_pdev() with to_omap_device() since > to_omap_device() is more familiar to the existing to_platform_device() > used when getting a platform_device pointer from a struct device pointer. > > Cc: Felipe Balbi <balbi@xxxxxx> > Signed-off-by: Kevin Hilman <khilman@xxxxxx> > --- > Paul, please consider this minor cleanup for the v3.1 merge window. > Applies to v3.0-c6. > > arch/arm/plat-omap/omap_device.c | 15 +++++---------- > 1 files changed, 5 insertions(+), 10 deletions(-) Thanks, queued for 3.1 with Felipe's Reviewed-by at git://git.pwsan.com/linux-2.6 in 'omap_device_cleanup_3.1'. - Paul -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html