From: Shawn Guo Date: Sat, 15 Sep 2012 06:26:14 +0000 (+0800) Subject: rtc: mxc_rtc: remove cpu_is_xxx by using platform_device_id X-Git-Tag: omap-for-v3.8/cleanup-multiplatform-signed~19^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bb1d34a20d537e2f2342db8b5918512f05b0f852;p=pandora-kernel.git rtc: mxc_rtc: 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 Cc: Andrew Morton Cc: rtc-linux@googlegroups.com --- Reading git-diff-tree failed