gpio/mxc: get rid of the uses of cpu_is_mx()
authorShawn Guo <shawn.guo@linaro.org>
Wed, 6 Jul 2011 16:37:41 +0000 (00:37 +0800)
committerGrant Likely <grant.likely@secretlab.ca>
Fri, 8 Jul 2011 18:38:12 +0000 (12:38 -0600)
commite7fc6ae7446710a487510d212137a43289bbe90e
tree6f040b47a383ed19afe48521f449dc0081fa47de
parentfb1492186276ba52d99b58121b8a9a87f20cc9f3
gpio/mxc: 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 different gpio types, IMX1_GPIO
on i.mx1, IMX21_GPIO on i.mx21 and i.mx27, IMX31_GPIO on all other
i.mx SoCs.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
arch/arm/mach-imx/mm-imx1.c
arch/arm/mach-imx/mm-imx21.c
arch/arm/mach-imx/mm-imx25.c
arch/arm/mach-imx/mm-imx27.c
arch/arm/mach-imx/mm-imx31.c
arch/arm/mach-imx/mm-imx35.c
arch/arm/mach-mx5/mm-mx50.c
arch/arm/mach-mx5/mm.c
arch/arm/plat-mxc/devices/platform-gpio-mxc.c
arch/arm/plat-mxc/include/mach/common.h
drivers/gpio/gpio-mxc.c