drm/panel: s6e63j0x03: Make use of the helper function dev_err_probe()
authorCai Huoqing <caihuoqing@baidu.com>
Thu, 16 Sep 2021 10:46:27 +0000 (18:46 +0800)
committerSam Ravnborg <sam@ravnborg.org>
Thu, 14 Oct 2021 20:10:50 +0000 (22:10 +0200)
commit94f9b9525c0a2e8aac741f8e0a2d71c4e2771ba9
tree2515e55c9f86b6ff5ad53c7d9b7095c5c07ce742
parentd41af761dbc137051ffe82fe4f23db54ebb1d523
drm/panel: s6e63j0x03: 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: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20210916104627.11622-1-caihuoqing@baidu.com
drivers/gpu/drm/panel/panel-samsung-s6e63j0x03.c