irqchip: exynos: look up irq using irq_find_mapping
authorArnd Bergmann <arnd@arndb.de>
Thu, 18 Apr 2013 21:57:26 +0000 (23:57 +0200)
committerArnd Bergmann <arnd@arndb.de>
Fri, 19 Apr 2013 21:00:43 +0000 (23:00 +0200)
commit20adee8fa06ef69012bc277739e9e3762c78b7b7
tree2dc5d7ca8c7b460eef5d6d7d4609203cf5615fc1
parent863a08dc8bc7ce32ecc9136671610a93a0dd68b1
irqchip: exynos: look up irq using irq_find_mapping

Since we want to move to using the linear IRQ domain in the
future, we cannot rely on the irq numbers to be contiguous
and need to look up the irq from the hwirq using the domain.

This also turns the bogus comparison with NR_IRQ into a
more meaningful check to see if the number has a valid mapping.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
drivers/irqchip/exynos-combiner.c