[PATCH 1/1] pinctrl: iproc-gpio: Remove redundant error printing in iproc_gpio_probe()

Linus Walleij linus.walleij at linaro.org
Wed May 19 16:38:02 PDT 2021


On Tue, May 11, 2021 at 10:51 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!

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list