diff options
author | 2017-11-06 14:43:41 +0300 | |
---|---|---|
committer | 2017-11-07 16:21:44 -0500 | |
commit | 74baea4275ee130c67400b33c532da8999b530af (patch) | |
tree | 9b38b77184ef992898cc0786859c8796c34bde3f /scripts/gdb/linux/utils.py | |
parent | drm/amd/display: small cleanup in destruct() (diff) | |
download | wireguard-linux-74baea4275ee130c67400b33c532da8999b530af.tar.xz wireguard-linux-74baea4275ee130c67400b33c532da8999b530af.zip |
drm/amd/display: checking for NULL instead of IS_ERR()
backlight_device_register() never returns NULL, it returns error
pointers on error so the check here is wrong.
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions