[PATCH -next] drm/fsl-dcu: use PTR_ERR_OR_ZERO() to simplify the code

Stefan Agner stefan at agner.ch
Mon Sep 5 19:26:59 UTC 2016


On 2016-07-25 00:08, Wei Yongjun wrote:
> Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR.
> 
> Generated by: scripts/coccinelle/api/ptr_ret.cocci
> 
> Signed-off-by: Wei Yongjun <weiyj.lk at gmail.com>

Applied!

--
Stefan


More information about the dri-devel mailing list