Skip to content
Commit b5d9ff10 authored by Tiezhu Yang's avatar Tiezhu Yang Committed by Linus Walleij
Browse files

pinctrl: Fix return value about devm_platform_ioremap_resource()



When call function devm_platform_ioremap_resource(), we should use IS_ERR()
to check the return value and return PTR_ERR() if failed.

Fixes: 4b024225 ("pinctrl: use devm_platform_ioremap_resource() to simplify code")
Signed-off-by: default avatarTiezhu Yang <yangtiezhu@loongson.cn>
Link: https://lore.kernel.org/r/1590234326-2194-1-git-send-email-yangtiezhu@loongson.cn


Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 6fe7c07a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment