]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/panel: Simplify with dev_err_probe()
authorChen Haonan <chen.haonan2@zte.com.cn>
Mon, 25 Dec 2023 14:26:15 +0000 (22:26 +0800)
committerNeil Armstrong <neil.armstrong@linaro.org>
Fri, 12 Jan 2024 09:34:55 +0000 (10:34 +0100)
commit9f78b3ae051d9eeeed9658cf54b3f0ea6920097b
tree15b536bfb2374da4c6c13ed68f6e8efd52cbae32
parentea4f9975625af861c2795c557b8fab2b492ff749
drm/panel: Simplify with dev_err_probe()

dev_err_probe() can check if the error code is -EPROBE_DEFER
and can return the error code, replacing dev_err() with it
simplifies the code.

Signed-off-by: Chen Haonan <chen.haonan2@zte.com.cn>
Reviewed-by: Jessica Zhang <quic_jesszhan@quicinc.com>
Link: https://lore.kernel.org/r/3ac20d355b0b3ad3cedb87c8f4efa819a055624b.1702967834.git.chen.haonan2@zte.com.cn
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/3ac20d355b0b3ad3cedb87c8f4efa819a055624b.1702967834.git.chen.haonan2@zte.com.cn
drivers/gpu/drm/panel/panel-boe-himax8279d.c