gpio: aspeed: remove redundant return value check
authorWei Yongjun <weiyongjun1@huawei.com>
Wed, 21 Sep 2016 15:07:56 +0000 (15:07 +0000)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 23 Sep 2016 13:11:09 +0000 (15:11 +0200)
commit83626bbdf5ca31257066b05db5a38c846ae1e19f
tree3410d8d9985b392838aa00fdd34f7e7e58658834
parent6e643d8ddf0e923ea0601e1dc014ff0d3b7b8260
gpio: aspeed: remove redundant return value check

Remove unneeded error handling on the result of a call
to platform_get_resource() when the value is passed to
devm_ioremap_resource().

Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-aspeed.c