pinctrl/coh901: use irqdomain, allocate irqdescs
authorLinus Walleij <linus.walleij@linaro.org>
Wed, 17 Oct 2012 16:31:20 +0000 (18:31 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Sun, 11 Nov 2012 18:06:02 +0000 (19:06 +0100)
commita6c45b99a658521291cfb66ecf035cc58b38f206
tree965842ac249c2b786c54d0fab12008276f419121
parentd4a31ee8997b2fbd82837182363cf8fa84abf347
pinctrl/coh901: use irqdomain, allocate irqdescs

This switches the COH 901 pinctrl driver to allocate its GPIO
IRQs dynamically, and start to use a linear irqdomain to map
from the hardware IRQs.

This way we can cut away the complex allocation of IRQ numbers
from the <mach/irqs.h> file.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/mach-u300/core.c
arch/arm/mach-u300/include/mach/irqs.h
drivers/pinctrl/pinctrl-coh901.c
include/linux/platform_data/pinctrl-coh901.h