aboutsummaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorYang Yingliang <[email protected]>2023-11-29 17:07:15 +0800
committerNeil Armstrong <[email protected]>2023-11-29 16:54:23 +0100
commitfb18fe0fdf22a2f4512a8b644bb5ea1473829cda (patch)
tree2ac8e1bac3a7e2e680c8cff7362034617f0be66b /scripts/generate_rust_analyzer.py
parentfc1ccc16271a0526518f19f460fed63d575a8a42 (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