]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit29627223d3b950826c101c18fe35845cd5a2325f
treec7e2fdd7a8532cfc388e8878227caa04496e1bfd
parentc4127c4db38016d23b432e954ad3f7b2784b0042
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