[PATCH 0/7] gpio: assorted irqdomain cleanups

From: Linus Walleij
Date: Tue Oct 16 2012 - 15:28:30 EST

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

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

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(-)


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/