[PATCH] OMAP: omap_device: replace _find_by_pdev() with to_omap_device()
Felipe Balbi
balbi at ti.com
Fri Jul 22 18:53:57 EST 2011
On Thu, Jul 21, 2011 at 04:52:11PM -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.
>
FWIW:
you can use either Reported-by: Felipe Balbi <balbi at ti.com> or
Reviewed-by: Felipe Balbi <balbi at ti.com>
thanks for posting the patch Kevin.
--
balbi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: Digital signature
URL: <http://lists.ozlabs.org/pipermail/devicetree-discuss/attachments/20110722/51abee0b/attachment.pgp>
More information about the devicetree-discuss
mailing list