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

Matteo Croce mcroce at redhat.com
Fri Mar 29 02:05:00 UTC 2019


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

Acked-by: Matteo Croce <mcroce at redhat.com>

-- 
Matteo Croce
per aspera ad upstream


More information about the dri-devel mailing list