summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings
diff options
context:
space:
mode:
authorYuan Can <yuancan@huawei.com>2022-09-29 01:55:03 +0000
committerDouglas Anderson <dianders@chromium.org>2022-09-29 14:04:25 -0700
commitc9b48b91e2fbb74fb981aa616a6ef3c78194077f (patch)
tree20adc871476253810008a39d464bd785165321dc /Documentation/devicetree/bindings
parentb28d204a7c19231c0a37359f82dc8c4b234d1d16 (diff)
downloadlinux-c9b48b91e2fbb74fb981aa616a6ef3c78194077f.tar.bz2
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 'Documentation/devicetree/bindings')
0 files changed, 0 insertions, 0 deletions