diff options
author | Yuan Can <yuancan@huawei.com> | 2022-09-29 03:55:03 +0200 |
---|---|---|
committer | Douglas Anderson <dianders@chromium.org> | 2022-09-29 23:04:25 +0200 |
commit | c9b48b91e2fbb74fb981aa616a6ef3c78194077f (patch) | |
tree | 20adc871476253810008a39d464bd785165321dc /include/drm/gpu_scheduler.h | |
parent | drm/panel: panel-edp: Use dev_err_probe() to simplify code (diff) | |
download | linux-c9b48b91e2fbb74fb981aa616a6ef3c78194077f.tar.xz linux-c9b48b91e2fbb74fb981aa616a6ef3c78194077f.zip |
drm/panel: simple: Use dev_err_probe() to simplify code
In the probe path, dev_err() can be replaced with dev_err_probe()
which will check if error code is -EPROBE_DEFER and prints the
error name. It also sets the defer probe reason which can be
checked later through debugfs.
Signed-off-by: Yuan Can <yuancan@huawei.com>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Douglas Anderson <dianders@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20220929015503.17301-3-yuancan@huawei.com
Diffstat (limited to 'include/drm/gpu_scheduler.h')
0 files changed, 0 insertions, 0 deletions