irqchip: mxs: Fix function type for IRQCHIP_OF_DECLARE
authorRob Herring <robh@kernel.org>
Mon, 12 May 2014 16:37:07 +0000 (11:37 -0500)
committerRob Herring <robh@kernel.org>
Tue, 20 May 2014 19:25:23 +0000 (14:25 -0500)
commit10776b5f48fe7d83e745856c2c8a14ab0a710bba
tree6479b74288bbaff002681597593eb7308df9b993
parent4f41083b87633c2277aad57c6a68e4250c5e7f1e
irqchip: mxs: Fix function type for IRQCHIP_OF_DECLARE

Adding function type checking to IRQCHIP_OF_DECLARE found a type mismatch
with icoll_of_init. The function should return an error code or 0 on
success.

Signed-off-by: Rob Herring <robh@kernel.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Jason Cooper <jason@lakedaemon.net>
drivers/irqchip/irq-mxs.c