diff options
author | Cai Huoqing <caihuoqing@baidu.com> | 2021-09-16 18:42:39 +0800 |
---|---|---|
committer | Sam Ravnborg <sam@ravnborg.org> | 2021-10-14 22:09:10 +0200 |
commit | 386e1c180f1f06acb64205c37f0fccc4f8885a73 (patch) | |
tree | 36ac5f74a451fca3fda54ef11c6792ed7d8582d4 /lib/kunit/string-stream-test.c | |
parent | 5ddc1e27e03298c433b0c889c2a431432abc2cc0 (diff) |
drm/panel: ili9881c: 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/20210916104240.11217-1-caihuoqing@baidu.com
Diffstat (limited to 'lib/kunit/string-stream-test.c')
0 files changed, 0 insertions, 0 deletions