linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3 V2] pxa2xx pcmcia - vpac glue code fix and trizeps cleanup.
@ 2011-06-06 14:24 Jonathan Cameron
  2011-06-06 14:24 ` [PATCH 1/3] pxa2xx vpac: pcmcia - free gpios on exist rather than requesting them again Jonathan Cameron
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Jonathan Cameron @ 2011-06-06 14:24 UTC (permalink / raw)
  To: linux-arm-kernel

V2 - actually put the right device name in the patch titles (thanks Marc)
     add some more trivial cleanup to trizeps (patch 3)

Original message:

The first patch looks like a simple bug.
The second removes an ifdef that doesn't do anything.

I was looking through this code with a vague view to simplifying it.
Why do pxa2xx and sa1100 require lots of platform glue when others
subarches do not?

On the second one, it looks to me like all those ifdefs could be
trivially removed.

Otherwise, a lot of these bits of glue code could be greatly reduced
by introducing a few default functions and const structures.  Anyone
bored enough to do it?

I might carry on dabbling if people familiar with all these boards
are happy to review.

Jonathan


Jonathan Cameron (3):
  pxa2xx vpac: pcmcia - free gpios on exist rather than requesting them
    again.
  pxa2xx trizeps4: pcmcia remove unnecessary ifdefs
  pxa2xx trizeps4 pcmcia: code cleanup

 drivers/pcmcia/pxa2xx_trizeps4.c |   95 +++++++++++++++++--------------------
 drivers/pcmcia/pxa2xx_vpac270.c  |    4 +-
 2 files changed, 46 insertions(+), 53 deletions(-)

-- 
1.7.3.4

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2011-06-15 13:09 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-06 14:24 [PATCH 0/3 V2] pxa2xx pcmcia - vpac glue code fix and trizeps cleanup Jonathan Cameron
2011-06-06 14:24 ` [PATCH 1/3] pxa2xx vpac: pcmcia - free gpios on exist rather than requesting them again Jonathan Cameron
2011-06-06 14:43   ` Marek Vasut
2011-06-15 13:07     ` Eric Miao
2011-06-06 14:24 ` [PATCH 2/3] pxa2xx trizeps4: pcmcia remove unnecessary ifdefs Jonathan Cameron
2011-06-06 14:44   ` Marek Vasut
2011-06-15 13:09     ` Eric Miao
2011-06-06 14:24 ` [PATCH 3/3] pxa2xx trizeps4 pcmcia: code cleanup Jonathan Cameron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).