]> www.infradead.org Git - users/dwmw2/linux.git/commit
drm/tegra: dsi: Make use of the helper function dev_err_probe()
authorCai Huoqing <caihuoqing@baidu.com>
Thu, 16 Sep 2021 10:56:40 +0000 (18:56 +0800)
committerThierry Reding <treding@nvidia.com>
Tue, 4 Apr 2023 16:04:57 +0000 (18:04 +0200)
commitfc75e4fcbd1e4252a0481ebb23cd4516c127a8e2
tree755cb1049dcae2cd0a449aab2e609590a286c087
parentd4281c016d84d56abd5fc19eb0e24ca7c5138e8c
drm/tegra: dsi: Make use of the helper function dev_err_probe()

When possible use dev_err_probe help to properly deal with the
PROBE_DEFER error, the benefit is that DEFER issue will be logged
in the devices_deferred debugfs file.
And using dev_err_probe() can reduce code size, the error value
gets printed.

Signed-off-by: Cai Huoqing <caihuoqing@baidu.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/dsi.c