mfd/ab8500-core: use irq_domain_add_simple()
authorLinus Walleij <linus.walleij@linaro.org>
Thu, 18 Oct 2012 16:18:44 +0000 (18:18 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 5 Nov 2012 08:55:33 +0000 (09:55 +0100)
commitf1d11f394f6e3fc0368e72244fb5ddc4142e804b
tree8c6a33623c76afa4450ae20ee9cd1ba5df491c45
parent694e33a7f42de7dcc8b43c3990c597b19ef9b438
mfd/ab8500-core: use irq_domain_add_simple()

To be able to use SPARSE_IRQ while yet not using device tree,
we need to use irq_domain_add_simple() that will allocate
descriptors for the IRQs in the non-DT case, and fall back
to using the linear irqdomain in the DT case.

Cc: Lee Jones <lee.jones@linaro.org>
Cc: Samuel Ortiz <sameo@linux.intel.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/mfd/ab8500-core.c