Wei Yongjun 7f8b965702 gpio: aspeed: fix return value check in aspeed_gpio_probe()
In case of error, the function devm_ioremap_resource() returns ERR_PTR()
and never returns NULL. The NULL test in the return value check should
be replaced with IS_ERR().

Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Acked-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2016-09-15 14:23:40 +02:00
..
2016-03-30 10:38:51 +02:00
2016-08-11 10:24:08 +02:00
2016-01-05 11:21:05 +01:00
2016-02-16 00:19:53 +01:00
2016-01-05 15:46:34 +01:00
2016-09-13 10:35:56 +02:00