diff options
author | Kevin Hilman <khilman@ti.com> | 2011-07-09 19:15:20 -0600 |
---|---|---|
committer | Paul Walmsley <paul@pwsan.com> | 2011-07-09 19:15:20 -0600 |
commit | 8f0d69dedcf1d10f9f72845f17f9a09a6ef0d66c (patch) | |
tree | 20c5cc235b8101f0019fa1fa72507a161b947ba5 /arch/arm/mach-omap2 | |
parent | ecba3287b4121dcf3ca7607fe71c205913edec06 (diff) | |
download | blackbird-op-linux-8f0d69dedcf1d10f9f72845f17f9a09a6ef0d66c.tar.gz blackbird-op-linux-8f0d69dedcf1d10f9f72845f17f9a09a6ef0d66c.zip |
OMAP: omap_device: replace _find_by_pdev() with to_omap_device()
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@ti.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>
Reviewed-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
Diffstat (limited to 'arch/arm/mach-omap2')
0 files changed, 0 insertions, 0 deletions