linux/Documentation
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-13 10:57:01 +09:00
2012-10-11 10:55:04 +01:00
2012-10-08 13:50:12 +10:30
2012-10-05 22:23:54 +02:00
2012-10-01 18:39:45 -04:00
2012-10-07 17:29:24 +09:00
2012-10-02 17:26:42 -07:00
2012-10-09 16:22:55 +09:00
2012-10-09 16:22:40 +09:00