From: Kevin Hilman Date: Sun, 10 Jul 2011 01:15:20 +0000 (-0600) Subject: OMAP: omap_device: replace _find_by_pdev() with to_omap_device() X-Git-Tag: v3.1-rc1~248^2~1^4^2^6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f0d69dedcf1d10f9f72845f17f9a09a6ef0d66c;p=pandora-kernel.git 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 Signed-off-by: Kevin Hilman Reviewed-by: Felipe Balbi Signed-off-by: Paul Walmsley --- Reading git-diff-tree failed