Shawn Guo 5bdfba29f1 i2c: imx: remove cpu_is_xxx by using platform_device_id
This is some amount of work left/forgot from device tree conversion.
Instead of checking cpu_is_xxx to determine the controller type, the
driver should use platform_device_id, which should match the device
tree compatible string.

The patch changes the driver to use platform_device_id rather than
cpu_is_xxx to determine the controller type/version.  It also updates
the platform code and device tree source accordingly.

As the result, mach/hardware.h inclusion gets removed from the driver.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Cc: Wolfram Sang <w.sang@pengutronix.de>
Cc: linux-i2c@vger.kernel.org
2012-10-15 10:03:15 +08:00
..
2012-10-02 17:26:42 -07:00
2012-10-07 20:55:16 +09:00
2012-10-12 10:21:02 +09:00
2012-10-11 00:45:21 -07:00
2012-09-26 22:28:21 -04:00
2012-10-08 06:33:44 +09:00
2012-09-24 10:07:40 -07:00
2012-10-13 13:22:01 -07:00
2012-10-07 17:29:24 +09:00
2012-10-10 20:15:24 +09:00
2012-10-12 13:56:52 -04:00
2012-10-03 09:44:08 -07:00
2012-10-09 16:11:46 +09:00
2012-10-01 19:11:38 -07:00
2012-10-10 20:15:24 +09:00
2012-10-13 10:57:01 +09:00
2012-10-01 19:11:38 -07:00
2012-10-13 11:16:58 +09:00
2012-10-01 12:09:59 -07:00
2012-10-12 22:20:28 +09:00
2012-10-01 18:46:13 -07:00