arm: omap: gpio: don't access irq_desc array directly
authorFelipe Balbi <balbi@ti.com>
Wed, 5 Jan 2011 06:46:18 +0000 (08:46 +0200)
committerKevin Hilman <khilman@ti.com>
Fri, 7 Jan 2011 21:33:08 +0000 (13:33 -0800)
Instead of accessing the irq_desc array directly
we can use irq_to_desc(irq). That will allow us to,
if wanted, select SPARSE_IRQ and irq_descs will be
added to a radix tree, instead of a array.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>

No differences found