Skip to content
Commit feb35745 authored by YueHaibing's avatar YueHaibing Committed by Ulf Hansson
Browse files

mmc: jz4740: Use PTR_ERR_OR_ZERO in jz4740_mmc_request_gpios()



Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR

Signed-off-by: default avatarYueHaibing <yuehaibing@huawei.com>
Acked-by: default avatarJoey Pabalinas <joeypabalinas@gmail.com>
Reviewed-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent 67b4ff9f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment