irqchip/gic-v2m: Fix of_node refcount on error
authorMarc Zyngier <marc.zyngier@arm.com>
Wed, 16 Dec 2015 11:03:24 +0000 (11:03 +0000)
committerMarc Zyngier <marc.zyngier@arm.com>
Wed, 16 Dec 2015 15:30:51 +0000 (15:30 +0000)
commit86d14c72b7837589a4381b3bc2e117e7d842a92a
treef1d5e393584916c3cf28db6c002d913fe5b5bde0
parent58b8964990dc6b59198b25337624b8518cb1dd87
irqchip/gic-v2m: Fix of_node refcount on error

On the error path, the v2m drivers drops the refcount on the parent
node instead of doing it on the node that generated the error.
Humph...

Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
drivers/irqchip/irq-gic-v2m.c