diff options
author | Yuan Can <[email protected]> | 2022-09-29 01:55:02 +0000 |
---|---|---|
committer | Douglas Anderson <[email protected]> | 2022-09-29 14:04:24 -0700 |
commit | b28d204a7c19231c0a37359f82dc8c4b234d1d16 (patch) | |
tree | 393aa1e31bd5df7cc84bcba33774ae5a6f328d52 /drivers/fpga/fpga-mgr.c | |
parent | b55002b9b575770fc0619dee8f6203697054c861 (diff) |
drm/panel: panel-edp: 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 <[email protected]>
Reviewed-by: Douglas Anderson <[email protected]>
Signed-off-by: Douglas Anderson <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions