gpio/mxs: get rid of the use of cpu_is_xxx
authorShawn Guo <shawn.guo@linaro.org>
Thu, 3 May 2012 15:32:52 +0000 (23:32 +0800)
committerShawn Guo <shawn.guo@linaro.org>
Sat, 12 May 2012 05:32:18 +0000 (13:32 +0800)
commit164387d2b4ae206f6275f5f6857aee74654918c4
tree5929dc7a0caa3883183a8031b4d54f6fbabba4db
parent940a4f7b51f7ad600821e389e80d216baf9e1df8
gpio/mxs: get rid of the use of cpu_is_xxx

It removes the use of cpu_is_xxx from gpio-mxs driver and instead use
platform_device_id to identify the device.  Accordingly, mxs platform
code is changed to register gpio device with different names, and
the registeration are done in soc specific initialization functions
now, so postcore_initcall(mxs_add_mxs_gpio) gets removed.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/mach-mxs/devices/platform-gpio-mxs.c
arch/arm/mach-mxs/include/mach/common.h
arch/arm/mach-mxs/mm.c
drivers/gpio/gpio-mxs.c