gpu: ipu-v3: Use ERR_CAST instead of ERR_PTR(PTR_ERR())
authorWei Yongjun <weiyongjun1@huawei.com>
Wed, 21 Sep 2016 15:12:24 +0000 (15:12 +0000)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Mon, 17 Oct 2016 06:21:53 +0000 (08:21 +0200)
commit4ad3e92c28057950c30ca19e32530eff9ee111bb
treec7e2fdd7a8532cfc388e8878227caa04496e1bfd
parent3e3affe549ebd228501d160886c1b3999d99e0c6
gpu: ipu-v3: Use ERR_CAST instead of ERR_PTR(PTR_ERR())

Use ERR_CAST inlined function instead of ERR_PTR(PTR_ERR(...)).

Generated by: scripts/coccinelle/api/err_cast.cocci

Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
drivers/gpu/ipu-v3/ipu-image-convert.c