Skip to content
Commit ac31f6e2 authored by YueHaibing's avatar YueHaibing Committed by Eduardo Valentin
Browse files

thermal: armada: Use PTR_ERR_OR_ZERO in armada_thermal_probe_legacy()



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

Signed-off-by: default avatarYueHaibing <yuehaibing@huawei.com>
Reviewed-by: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: default avatarEduardo Valentin <edubezval@gmail.com>
parent 24f1c13f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment