[PATCH] of_irq_to_resource now returns the virq
authorAndy Fleming <afleming@freescale.com>
Tue, 7 Nov 2006 22:57:22 +0000 (16:57 -0600)
committerPaul Mackerras <paulus@samba.org>
Mon, 13 Nov 2006 03:48:54 +0000 (14:48 +1100)
Mostly this is to allow for error checking (check the return for NO_IRQ)
Added a check that the resource is non-NULL, too.

Signed-off-by: Andrew Fleming <afleming@freescale.com>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>

No differences found