diff options
| author | Yang Yingliang <yangyingliang@huawei.com> | 2024-10-29 20:39:57 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-12-27 14:02:10 +0100 |
| commit | 4021a163e101cb8b75ab164e845bbcd05ee404f2 (patch) | |
| tree | cb2fe2283e151b96345284bdcd77b8485c35c0c7 /scripts/stackusage | |
| parent | 747547972e647509815ad8530ff09d62220a56c2 (diff) | |
| download | linux-4021a163e101cb8b75ab164e845bbcd05ee404f2.tar.gz linux-4021a163e101cb8b75ab164e845bbcd05ee404f2.tar.bz2 linux-4021a163e101cb8b75ab164e845bbcd05ee404f2.zip | |
drm/panel: novatek-nt35950: fix return value check in nt35950_probe()
[ Upstream commit f8fd0968eff52cf092c0d517d17507ea2f6e5ea5 ]
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: 623a3531e9cf ("drm/panel: Add driver for Novatek NT35950 DSI DriverIC panels")
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/r/20241029123957.1588-1-yangyingliang@huaweicloud.com
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20241029123957.1588-1-yangyingliang@huaweicloud.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions
