Re: [PATCH 02/10] drm/panel: panel-edp: Use dev_err_probe() to simplify code

2022-09-28 Thread Doug Anderson
Hi, On Fri, Sep 23, 2022 at 6:58 PM Yuan Can wrote: > > 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

[PATCH 02/10] drm/panel: panel-edp: Use dev_err_probe() to simplify code

2022-09-23 Thread Yuan Can
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 --- drivers/gpu/drm/panel/panel-edp.c | 13 +++-