drm/panel: fy07024di26a30d: Make use of the helper function dev_err_probe()
authorCai Huoqing <caihuoqing@baidu.com>
Thu, 16 Sep 2021 10:42:32 +0000 (18:42 +0800)
committerSam Ravnborg <sam@ravnborg.org>
Thu, 14 Oct 2021 20:08:47 +0000 (22:08 +0200)
commit5ddc1e27e03298c433b0c889c2a431432abc2cc0
tree088b15e07c65b080ed22138b61d95d2593bcacbb
parent6b1a69bcb23fbcc65b0b086063f608e3509dfd0f
drm/panel: fy07024di26a30d: 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, and the error value
gets printed.

Signed-off-by: Cai Huoqing <caihuoqing@baidu.com>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20210916104232.11164-1-caihuoqing@baidu.com
drivers/gpu/drm/panel/panel-feiyang-fy07024di26a30d.c