Peng Fan 1bbc557d97 gpio: mxs: need to check return value of irq_alloc_generic_chip
Need to check return value of irq_alloc_generic_chip, because
it may return NULL.
1. Change mxs_gpio_init_gc return type from void to int.
2. Add a new lable out_irqdomain_remove to remove the irq domain
   when mxc_gpio_init_gc fail.

Signed-off-by: Peng Fan <van.freenix@gmail.com>
Cc: Alexandre Courbot <gnurou@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2015-09-14 09:12:03 +02:00
..
2015-08-13 14:42:55 +02:00
2014-12-14 16:10:09 -08:00
2015-05-13 10:02:12 +02:00
2015-07-28 09:45:39 +02:00
2015-06-16 11:00:06 +02:00
2015-06-16 11:00:06 +02:00
2015-05-05 17:50:07 +02:00
2015-07-28 09:45:39 +02:00
2015-05-06 15:33:48 +02:00
2015-01-22 09:45:24 +01:00
2014-12-14 16:10:09 -08:00
2015-08-26 14:49:23 +02:00
2015-08-13 14:42:55 +02:00