]> git.baikalelectronics.ru Git - kernel.git/commit
drm/omap: Use ERR_CAST directly instead of ERR_PTR(PTR_ERR())
authorzhong jiang <zhongjiang@huawei.com>
Tue, 11 Sep 2018 11:54:35 +0000 (19:54 +0800)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 2 Oct 2018 06:36:56 +0000 (09:36 +0300)
commit6c81906cd92fe81cf2dd0f3a276a48a020e68c05
treecd9c40d402c855c7c917b7edd17540dd3a6fc483
parent27c996361eb50a9e9e05f6f7389dd3fe5a336c2e
drm/omap: Use ERR_CAST directly instead of ERR_PTR(PTR_ERR())

We prefer to use ERR_CAST to do so.
The issue is detected with the help of Coccinelle.

Signed-off-by: zhong jiang <zhongjiang@huawei.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/gpu/drm/omapdrm/dss/dss.c