Hi, On Wed, Sep 28, 2022 at 6:56 PM Yuan Can <yuancan@xxxxxxxxxx> 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-by: Yuan Can <yuancan@xxxxxxxxxx> > Reviewed-by: Douglas Anderson <dianders@xxxxxxxxxxxx> > --- > drivers/gpu/drm/panel/panel-edp.c | 22 ++++++---------------- > 1 file changed, 6 insertions(+), 16 deletions(-) Pushed to drm-misc-next: b28d204a7c19 drm/panel: panel-edp: Use dev_err_probe() to simplify code