staging: drm/imx: replace IS_ERR and PTR_ERR with PTR_ERR_OR_ZERO
authorValentina Manea <valentina.manea.m@gmail.com>
Wed, 23 Oct 2013 07:29:55 +0000 (10:29 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Oct 2013 03:30:27 +0000 (20:30 -0700)
commit1f933fa81652efe2069df2565ffdd83f59e99e01
tree3e22f5b5805131eb456e85a74224db8bd00a6626
parent365aa51e11cc537ac39a96f765ad8e7511aa93ff
staging: drm/imx: replace IS_ERR and PTR_ERR with PTR_ERR_OR_ZERO

This patch fixes coccinelle error regarding usage of IS_ERR and
PTR_ERR instead of PTR_ERR_OR_ZERO.

Signed-off-by: Valentina Manea <valentina.manea.m@gmail.com>
Reviewed-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/imx-drm/imx-ldb.c