diff options
author | 2023-11-29 17:07:15 +0800 | |
---|---|---|
committer | 2023-11-29 16:54:23 +0100 | |
commit | fb18fe0fdf22a2f4512a8b644bb5ea1473829cda (patch) | |
tree | 2ac8e1bac3a7e2e680c8cff7362034617f0be66b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/panel: starry-2081101qfh032011-53g: Fine tune the panel power sequence (diff) | |
download | wireguard-linux-fb18fe0fdf22a2f4512a8b644bb5ea1473829cda.tar.xz wireguard-linux-fb18fe0fdf22a2f4512a8b644bb5ea1473829cda.zip |
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 <yangyingliang@huawei.com>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/r/20231129090715.856263-1-yangyingliang@huaweicloud.com
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20231129090715.856263-1-yangyingliang@huaweicloud.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions