diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2017-10-05 15:57:51 +0300 |
---|---|---|
committer | Sean Paul <seanpaul@chromium.org> | 2017-10-12 21:09:45 +0300 |
commit | 7af35b0addbc6b8573e11106dfd3e21adf38f405 (patch) | |
tree | d293195efff9fef59a06cef434e41b322d16d98c /block/blk-softirq.c | |
parent | d9d7a3ef4747ec79854b32b0bd98d2da910c2563 (diff) | |
download | linux-7af35b0addbc6b8573e11106dfd3e21adf38f405.tar.xz |
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 <dan.carpenter@oracle.com>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20171005125751.jvtjms62vbtxuvak@mwanda
Diffstat (limited to 'block/blk-softirq.c')
0 files changed, 0 insertions, 0 deletions