[PATCH] OMAP: omap_device: replace _find_by_pdev() with to_omap_device()

Felipe Balbi balbi at ti.com
Wed Jul 6 18:18:57 EDT 2011


On Wed, Jul 06, 2011 at 12:26:17PM -0700, 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 at ti.com>

FWIW:

Reviewed-by: Felipe Balbi <balbi at ti.com>

thanks for sending this one Kevin ;-)

-- 
balbi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20110707/4dcf317b/attachment.sig>


More information about the linux-arm-kernel mailing list