commit | ac31f6e25d4e9e9dfda9c0621242036b291b7754 | [log] [tgz] |
---|---|---|
author | YueHaibing <yuehaibing@huawei.com> | Tue Nov 13 14:13:45 2018 +0000 |
committer | Eduardo Valentin <edubezval@gmail.com> | Wed Jan 02 04:47:10 2019 -0800 |
tree | 0311ec6c1ce5c68de961af31f31999d17a3bdd9c | |
parent | 24f1c13fa5f1599c373c53783f74de8a639f7999 [diff] |
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: YueHaibing <yuehaibing@huawei.com> Reviewed-by: Daniel Lezcano <daniel.lezcano@linaro.org> Signed-off-by: Eduardo Valentin <edubezval@gmail.com>