diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2017-11-06 14:43:41 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-11-07 16:21:44 -0500 |
commit | 74baea4275ee130c67400b33c532da8999b530af (patch) | |
tree | 9b38b77184ef992898cc0786859c8796c34bde3f /scripts/gdb/linux/proc.py | |
parent | 620fd73edfd7297307e0e3ac581e65247c9dd8db (diff) |
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/proc.py')
0 files changed, 0 insertions, 0 deletions