Skip to content
Commit 6e643d8d authored by Wei Yongjun's avatar Wei Yongjun Committed by Linus Walleij
Browse files

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: default avatarWei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 22a5db98
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment