]> 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)
commit03c4bd5d993f3ed7d65c39f4a5018beab085e609
tree3410d8d9985b392838aa00fdd34f7e7e58658834
parentf1ac14a5c7c30198e29de926ce7f7de3012797ab
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