sh: intc: switch irq_desc iteration to new active IRQ iterator.
authorPaul Mundt <lethal@linux-sh.org>
Thu, 28 Oct 2010 02:36:31 +0000 (11:36 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Thu, 28 Oct 2010 02:36:31 +0000 (11:36 +0900)
commit63111a3a70fb4d80e3b54ed75f13795e98f7a467
treeb20d7ae26df0dbac361de76c6492f84545bb33a4
parentfb41a49d96cd0fb6c63362ff1c8de22e9e7399af
sh: intc: switch irq_desc iteration to new active IRQ iterator.

There's no need to iterative over every single irq_desc when we can
already work out which IRQs have a backing descriptor via the shiny new
for_each_active_irq(). Switch to that instead.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/sh/intc/core.c