From: Shawn Guo Date: Sat, 15 Sep 2012 05:34:09 +0000 (+0800) Subject: mtd: mxc_nand: remove cpu_is_xxx by using platform_device_id X-Git-Tag: omap-for-v3.8/cleanup-multiplatform-signed~19^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4d62435f0601ecec379fdc48749a10353fee8217;p=pandora-kernel.git mtd: mxc_nand: 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: Artem Bityutskiy Cc: linux-mtd@lists.infradead.org --- Reading git-diff-tree failed