irqchip: omap-intc: minor improvement to omap_irq_pending()
authorFelipe Balbi <balbi@ti.com>
Mon, 15 Sep 2014 21:15:03 +0000 (16:15 -0500)
committerTony Lindgren <tony@atomide.com>
Tue, 16 Sep 2014 21:44:59 +0000 (14:44 -0700)
commit6bd0f16e322b4572fe1e0ff3b0e78c800c2633b4
treee1d1b6aaebb1cf993b26339484a94c4c1cd67b4a
parent8598066cddd186809c4edf5aae5f018c00079e8c
irqchip: omap-intc: minor improvement to omap_irq_pending()

We already hold the number of Pending registers
in omap_nr_pending. Let's use that instead.

Acked-by: Jason Cooper <jason@lakedaemon.net>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/irqchip/irq-omap-intc.c