Re: [PATCH v2 2/2] drm/panel: simple: Use dev_err_probe() to simplify code

2022-09-29 Thread Yuan Can
在 2022/9/30 5:08, Doug Anderson 写道: Hi, On Wed, Sep 28, 2022 at 6:57 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

Re: [PATCH v2 2/2] drm/panel: simple: Use dev_err_probe() to simplify code

2022-09-29 Thread Doug Anderson
Hi, On Wed, Sep 28, 2022 at 6:57 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 v2 2/2] drm/panel: simple: Use dev_err_probe() to simplify code

2022-09-28 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 Reviewed-by: Douglas Anderson --- drivers/gpu/drm/