diff options
author | Yang Yingliang <[email protected]> | 2023-11-29 17:07:15 +0800 |
---|---|---|
committer | Neil Armstrong <[email protected]> | 2023-11-29 16:54:23 +0100 |
commit | fb18fe0fdf22a2f4512a8b644bb5ea1473829cda (patch) | |
tree | 2ac8e1bac3a7e2e680c8cff7362034617f0be66b /scripts/generate_rust_analyzer.py | |
parent | fc1ccc16271a0526518f19f460fed63d575a8a42 (diff) |
drm/panel: nt36523: fix return value check in nt36523_probe()
mipi_dsi_device_register_full() never returns NULL pointer, it
will return ERR_PTR() when it fails, so replace the check with
IS_ERR().
Fixes: 0993234a0045 ("drm/panel: Add driver for Novatek NT36523")
Signed-off-by: Yang Yingliang <[email protected]>
Reviewed-by: Neil Armstrong <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Neil Armstrong <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions