gpio: pxa: checking IS_ERR() instead of NULL
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 5 Jan 2016 09:56:37 +0000 (12:56 +0300)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 5 Jan 2016 10:19:26 +0000 (11:19 +0100)
commit41d107ad92b4b8abf103b62269c34da80320f212
treeabd7cd23f828a8904133adc750f59c481a480cd1
parent4b63739efabc93d67d2b6812dd0cd41358fadf29
gpio: pxa: checking IS_ERR() instead of NULL

irq_domain_add_legacy() returns NULL on error, it doesn't return error
pointers.

Fixes: 384ca3c6a28d ('gpio: pxa: change the interrupt management')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-pxa.c
This page took 0.028002 seconds and 5 git commands to generate.