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: NChristian König <christian.koenig@amd.com> Signed-off-by: NDan Carpenter <dan.carpenter@oracle.com> Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
Showing
想要评论请 注册 或 登录