]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit68b33b665348562ee696bd0c5585911446088297
tree3410d8d9985b392838aa00fdd34f7e7e58658834
parentf0f5c292b182e73d70e36766793511e1e117c3ec
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