diff options
author | 2015-08-23 21:11:53 +0800 | |
---|---|---|
committer | 2015-09-14 09:12:03 +0200 | |
commit | 1bbc557d976b4e5ae9a41d619bd79f09ccac9afc (patch) | |
tree | 802816dd4c955efc16730564ff88dd64915b5deb /tools/perf/scripts/python/export-to-postgresql.py | |
parent | gpio: mxc: need to check return value of irq_alloc_generic_chip (diff) | |
download | wireguard-linux-1bbc557d976b4e5ae9a41d619bd79f09ccac9afc.tar.xz wireguard-linux-1bbc557d976b4e5ae9a41d619bd79f09ccac9afc.zip |
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>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions