mmc: mxs-mmc: get rid of the use of cpu_is_xxx
authorShawn Guo <shawn.guo@linaro.org>
Sat, 5 May 2012 12:24:01 +0000 (20:24 +0800)
committerShawn Guo <shawn.guo@linaro.org>
Sun, 13 May 2012 00:05:31 +0000 (08:05 +0800)
The register HW_SSP_VERSION is broken for ssp version detection,
as the address of the register is different between imx23 and imx28.
Let's use platform_device_id to detect the device, so that the use
of cpu_is_xxx can be removed.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Acked-by: Chris Ball <cjb@laptop.org>

No differences found