Thread (2 messages) flat view 2 messages, 2 authors, 2011-07-04

[PATCH 1/2] gpio/mxc: get rid of the uses of cpu_is_mx()

From: Grant Likely <hidden>
Date: 2011-07-04 06:11:44
Also in: linux-devicetree

On Mon, Jul 4, 2011 at 12:10 AM, Grant Likely [off-list ref] wrote:
On Sun, Jul 03, 2011 at 04:16:56PM +0800, Shawn Guo wrote:
quoted
The patch removes all the uses of cpu_is_mx(). ?Instead, it utilizes
platform_device_id to distinguish the gpio differences among SoCs.

Signed-off-by: Shawn Guo <redacted>
Cc: Grant Likely <redacted>
Cc: Sascha Hauer <s.hauer@pengutronix.de>
---
?arch/arm/mach-imx/mm-imx1.c ? ? ? ? ? ? ? ? ? | ? ?8 +-
?arch/arm/mach-imx/mm-imx21.c ? ? ? ? ? ? ? ? ?| ? 12 +-
?arch/arm/mach-imx/mm-imx25.c ? ? ? ? ? ? ? ? ?| ? ?8 +-
?arch/arm/mach-imx/mm-imx27.c ? ? ? ? ? ? ? ? ?| ? 12 +-
?arch/arm/mach-imx/mm-imx31.c ? ? ? ? ? ? ? ? ?| ? ?6 +-
?arch/arm/mach-imx/mm-imx35.c ? ? ? ? ? ? ? ? ?| ? ?6 +-
?arch/arm/mach-mx5/mm-mx50.c ? ? ? ? ? ? ? ? ? | ? 12 +-
?arch/arm/mach-mx5/mm.c ? ? ? ? ? ? ? ? ? ? ? ?| ? 22 ++--
?arch/arm/plat-mxc/devices/platform-gpio-mxc.c | ? ?4 +-
?arch/arm/plat-mxc/include/mach/common.h ? ? ? | ? ?2 +-
?drivers/gpio/gpio-mxc.c ? ? ? ? ? ? ? ? ? ? ? | ?123 +++++++++++++++++++++----
?11 files changed, 151 insertions(+), 64 deletions(-)
... but other than the comments I made, I fully support making this
change.  It should also be able to be complete for v3.1

g.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help