Re: [PATCH -next] drm/omap: Use PTR_ERR_OR_ZERO in hdmi4_core_init()

From: Matteo Croce
Date: Thu Mar 28 2019 - 22:05:41 EST


On Fri, Mar 29, 2019 at 2:30 AM YueHaibing <yuehaibing@xxxxxxxxxx> wrote:
>
> Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR
>
> Signed-off-by: YueHaibing <yuehaibing@xxxxxxxxxx>
> ---
> drivers/gpu/drm/omapdrm/dss/hdmi4_core.c | 5 +----
> 1 file changed, 1 insertion(+), 4 deletions(-)
>

Acked-by: Matteo Croce <mcroce@xxxxxxxxxx>

--
Matteo Croce
per aspera ad upstream