From: Shawn Guo Date: Sun, 16 Sep 2012 08:26:20 +0000 (+0800) Subject: media: mx2_camera: remove cpu_is_xxx by using platform_device_id X-Git-Tag: omap-for-v3.8/cleanup-multiplatform-signed~19^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=27b76486a3e5be1cfd19dc59452e4185c5d43dff;p=pandora-kernel.git media: mx2_camera: remove cpu_is_xxx by using platform_device_id It changes the driver to use platform_device_id rather than cpu_is_xxx to determine the controller type, and updates the platform code accordingly. As the result, mach/hardware.h inclusion gets removed from the driver. Signed-off-by: Shawn Guo Acked-by: Sascha Hauer Acked-by: Arnd Bergmann Acked-by: Guennadi Liakhovetski Tested-by: Javier Martin Cc: linux-media@vger.kernel.org --- Reading git-diff-tree failed