remoteproc: qcom: Use PTR_ERR_OR_ZERO
authorHimanshu Jha <himanshujha199640@gmail.com>
Tue, 29 Aug 2017 13:43:18 +0000 (19:13 +0530)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Tue, 29 Aug 2017 22:34:19 +0000 (15:34 -0700)
commitc76929b3c695305c1055d7e7c935d35b5fd275be
treed01f3cf37c417f2998dec4aef3f019134c9d8c71
parent1e13c7fb49ed11f598ce62077fae2286b385558f
remoteproc: qcom: Use PTR_ERR_OR_ZERO

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

Signed-off-by: Himanshu Jha <himanshujha199640@gmail.com>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
drivers/remoteproc/qcom_adsp_pil.c
drivers/remoteproc/qcom_common.c