mfd: wm8994: Update to fully use irq_domain
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 13 May 2012 10:03:26 +0000 (11:03 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 15 May 2012 17:57:25 +0000 (18:57 +0100)
commit6550334f96ab02e540572a142d0851c7f3120585
tree702644ab4e666ad57fe785dac776bc8e94ec8a9d
parent022f926a2401c80ed36ebb48a1bffbac08f34d98
mfd: wm8994: Update to fully use irq_domain

Take advantage of the new regmap irq_domain support to dynamically
allocate interrupts, using regmap_irq_get_virq() rather than irq_base
to look up the interrupts. This means that most users should not need
to specify an irq_base at all.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/wm8994-irq.c
include/linux/mfd/wm8994/core.h