mfd: arizona: Try to use interrupt flags from interrupt controller
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 24 Mar 2013 23:16:56 +0000 (23:16 +0000)
committerSamuel Ortiz <sameo@linux.intel.com>
Mon, 8 Apr 2013 13:20:58 +0000 (15:20 +0200)
If no irq_flags are passed in platform data then query the interrupt
controller for the trigger type and try to use that. This provides
default operation with a wider range of hardware and will be needed
for device tree support where the interrupt flags are configured on
the interrupt controller.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>

No differences found