mmc: sdhci-esdhc-imx: get rid of the uses of cpu_is_mx()
commit57ed3314e0bfa90ea63c63b8d3038814e9d98a20
authorShawn Guo <shawn.guo@linaro.org>
Thu, 30 Jun 2011 01:24:26 +0000 (30 09:24 +0800)
committerShawn Guo <shawn.guo@linaro.org>
Wed, 27 Jul 2011 01:31:27 +0000 (27 09:31 +0800)
treece82f977d851c5cb2b0d6c28da0ef7270f3be848
parent842afc02cf04f0474392b4c5efd808996a804fa6
mmc: sdhci-esdhc-imx: get rid of the uses of cpu_is_mx()

The patch removes all the uses of cpu_is_mx().  Instead, it utilizes
platform_device_id to distinguish the esdhc differences among SoCs.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Cc: Wolfram Sang <w.sang@pengutronix.de>
Cc: Chris Ball <cjb@laptop.org>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Acked-by: Chris Ball <cjb@laptop.org>
arch/arm/mach-imx/clock-imx25.c
arch/arm/mach-imx/clock-imx35.c
arch/arm/mach-mx5/clock-mx51-mx53.c
arch/arm/mach-mx5/mx51_efika.c
arch/arm/plat-mxc/devices/platform-sdhci-esdhc-imx.c
arch/arm/plat-mxc/include/mach/devices-common.h
drivers/mmc/host/sdhci-esdhc-imx.c