irqchip: crossbar: Set cb pointer to null in case of error
authorSricharan R <r.sricharan@ti.com>
Thu, 26 Jun 2014 07:10:29 +0000 (12:40 +0530)
committerJason Cooper <jason@lakedaemon.net>
Mon, 30 Jun 2014 19:11:25 +0000 (19:11 +0000)
commit99e37d0ea607623f286b4841cc355e65b297170c
tree08d54361cdbc0dc9c4f3875807169bb72758883c
parent3c44d5151246947442f2fe8eede842e3f76dd2f1
irqchip: crossbar: Set cb pointer to null in case of error

If crossbar_of_init returns with a error, then set the cb pointer
to null.

Signed-off-by: Sricharan R <r.sricharan@ti.com>
Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Link: https://lkml.kernel.org/r/1403766634-18543-12-git-send-email-r.sricharan@ti.com
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
drivers/irqchip/irq-crossbar.c