aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mfd
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2013-12-03 09:11:54 -0500
committerLee Jones <lee.jones@linaro.org>2014-01-21 03:27:49 -0500
commited83d301eac2ca7c1315d0e283e1c14c07a53e16 (patch)
treec01ff9bab9eb357536e828656c321f50221d83f1 /drivers/mfd
parent4db59238906becd0047aba8293b25591dd0d018a (diff)
mfd: ab8500: Use irqdomain to map interrupts
All subdrivers use the irqdomain to demux AB8500 IRQs but here in the hierarchical path we find a leftover instance using the hard-coded IRQ base. Convert it to use irqdomain with a oneliner. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd')
-rw-r--r--drivers/mfd/ab8500-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/ab8500-core.c b/drivers/mfd/ab8500-core.c
index 6788064ed899..aaff683cd37d 100644
--- a/drivers/mfd/ab8500-core.c
+++ b/drivers/mfd/ab8500-core.c
@@ -491,7 +491,7 @@ static int ab8500_handle_hierarchical_line(struct ab8500 *ab8500,
491 if (line == AB8540_INT_GPIO43F || line == AB8540_INT_GPIO44F) 491 if (line == AB8540_INT_GPIO43F || line == AB8540_INT_GPIO44F)
492 line += 1; 492 line += 1;
493 493
494 handle_nested_irq(ab8500->irq_base + line); 494 handle_nested_irq(irq_create_mapping(ab8500->domain, line));
495 } 495 }
496 496
497 return 0; 497 return 0;