All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/7] gpio: assorted irqdomain cleanups
@ 2012-10-16 19:21 Linus Walleij
  0 siblings, 0 replies; only message in thread
From: Linus Walleij @ 2012-10-16 19:21 UTC (permalink / raw)
  To: linux-kernel; +Cc: Rob Herring, Grant Likely, Linus Walleij

I have noted that some of the GPIO drivers have been copy-pasting
and contaminating each other with bad examples, so I've tried in
this series to mitigate this by correcting the most obvious
examples.

I have no clue how to even compile-test some of these, so I rely
on maintainers to test them and maybe refactor them up if they are
sucky.

Remains: gpio-omap, gpio-pxa and gpio-twl4030.

These three drivers do *REALLY* scary stuff, like creating domains
and flat out ignoring to use them, keeping the irq_base after
allocating descriptors around and abusing it etc. I would really
like to see these fixed up to use irqdomains properly. The
twl4030 looks really hairy with the IRQ handling centralized
into the main MFD driver...

Linus Walleij (7):
  gpio/tc3589x: convert to use the simple irqdomain
  gpio/em: convert to linear IRQ domain
  gpio/mvebu: convert to use irq_domain_add_simple()
  gpio/mxs: convert to use linear irqdomain
  gpio/pcf857x: find the irq domain mapping
  gpio/langwell: find the irq domain mapping
  gpio/tegra: convert to use linear irqdomain

 drivers/gpio/gpio-em.c       | 22 +++-------------------
 drivers/gpio/gpio-langwell.c |  2 +-
 drivers/gpio/gpio-mvebu.c    |  6 +++---
 drivers/gpio/gpio-mxs.c      | 19 ++++++-------------
 drivers/gpio/gpio-pcf857x.c  |  2 +-
 drivers/gpio/gpio-tc3589x.c  | 14 +++-----------
 drivers/gpio/gpio-tegra.c    | 12 ++++--------
 7 files changed, 21 insertions(+), 56 deletions(-)

-- 
1.7.11.7


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-10-16 19:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-16 19:21 [PATCH 0/7] gpio: assorted irqdomain cleanups Linus Walleij

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.