]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: em: Fix checking return value of irq_alloc_descs
authorAxel Lin <axel.lin@gmail.com>
Tue, 28 Aug 2012 11:30:44 +0000 (19:30 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 31 Aug 2012 23:18:39 +0000 (01:18 +0200)
commit83f37ea34592fcb8cfcd5cc68addedeb05eda858
tree17ac0aed21b9898bf4844686ca437e9ff329ddfe
parent959d7c43d1f4e0710c669a9c237c0b2e516669db
gpio: em: Fix checking return value of irq_alloc_descs

irq_alloc_descs() returns negative error code on failure.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-em.c