Thread (32 messages) 32 messages, 9 authors, 2011-08-01

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

From: Felipe Balbi <hidden>
Date: 2011-07-22 08:53:57
Also in: linux-devicetree, linux-omap

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 [off-list ref] or
Reviewed-by: Felipe Balbi <redacted>

thanks for posting the patch 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/20110722/51abee0b/attachment.sig>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help