[PATCH 1/1] drm/mcde: Remove redundant error printing in mcde_dsi_probe()

Linus Walleij linus.walleij at linaro.org
Fri May 21 23:58:54 UTC 2021


On Tue, May 11, 2021 at 11:14 AM Zhen Lei <thunder.leizhen at huawei.com> wrote:

> When devm_ioremap_resource() fails, a clear enough error message will be
> printed by its subfunction __devm_ioremap_resource(). The error
> information contains the device name, failure cause, and possibly resource
> information.
>
> Therefore, remove the error printing here to simplify code and reduce the
> binary size.
>
> Reported-by: Hulk Robot <hulkci at huawei.com>
> Signed-off-by: Zhen Lei <thunder.leizhen at huawei.com>

Patch applied to the DRM misc tree.

Yours,
Linus Walleij


More information about the dri-devel mailing list