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

Doug Anderson dianders at chromium.org
Thu Sep 29 21:08:34 UTC 2022


Hi,

On Wed, Sep 28, 2022 at 6:57 PM Yuan Can <yuancan at huawei.com> 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 at huawei.com>
> Reviewed-by: Douglas Anderson <dianders at chromium.org>
> ---
>  drivers/gpu/drm/panel/panel-simple.c | 9 +++------
>  1 file changed, 3 insertions(+), 6 deletions(-)

Pushed to drm-misc-next:

c9b48b91e2fb drm/panel: simple: Use dev_err_probe() to simplify code

For the other patches in your original series, I'll assume folks
paying more attention to those panel drivers will commit them. If they
totally stall for a while, though, then yell and I can try taking a
look at them. :-)

-Doug


More information about the dri-devel mailing list