# Re: \[PATCH 1/1\] pinctrl: iproc-gpio: Remove redundant error printing in iproc\_gpio\_probe()

- From: Linus Walleij \<hidden\>
- Date: 2021-05-19 23:38:20 
- List: linux-arm-kernel
- Page: https://ratatoskr.run/linux-arm-kernel/2021/05/8513272
- Thread: https://ratatoskr.run/linux-gpio/2021/05/8513250/t.md

```text
On Tue, May 11, 2021 at 10:51 AM Zhen Lei [ref] 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 <redacted>
> Signed-off-by: Zhen Lei <redacted>

Patch applied!

Yours,
Linus Walleij

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
```
