]> git.karo-electronics.de Git - linux-beck.git/commit
gpio: loongson1: remove redundant return value check
authorWei Yongjun <weiyongjun1@huawei.com>
Wed, 21 Sep 2016 15:07:39 +0000 (15:07 +0000)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 23 Sep 2016 13:10:00 +0000 (15:10 +0200)
commit6e643d8ddf0e923ea0601e1dc014ff0d3b7b8260
tree50ca199bc529488691381c3dda2c01fed5807b63
parent22a5db98a30ea734c29056b0d59cb4fe2a383bc2
gpio: loongson1: 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-loongson1.c