]> Git Repo - linux.git/commit
drm/kirin: Checking for IS_ERR() instead of NULL
authorDan Carpenter <[email protected]>
Thu, 5 Oct 2017 12:57:51 +0000 (15:57 +0300)
committerSean Paul <[email protected]>
Thu, 12 Oct 2017 18:09:45 +0000 (14:09 -0400)
commit7af35b0addbc6b8573e11106dfd3e21adf38f405
treed293195efff9fef59a06cef434e41b322d16d98c
parentd9d7a3ef4747ec79854b32b0bd98d2da910c2563
drm/kirin: Checking for IS_ERR() instead of NULL

The of_graph_get_remote_node() function doesn't return error pointers,
it returns NULL on error so I've updated the check.

Fixes: 86418f90a4c1 ("drm: convert drivers to use of_graph_get_remote_node")
Signed-off-by: Dan Carpenter <[email protected]>
Signed-off-by: Sean Paul <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/20171005125751.jvtjms62vbtxuvak@mwanda
drivers/gpu/drm/hisilicon/kirin/kirin_drm_drv.c
This page took 0.058753 seconds and 4 git commands to generate.