[PATCH 1/1] PCI: mediatek: Remove redundant error printing in mtk_pcie_subsys_powerup()

Krzysztof Wilczyński kw at linux.com
Fri May 14 05:50:23 PDT 2021


Hi Zhen,

> 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.
[...]

Thank you!

Reviewed-by: Krzysztof Wilczyński <kw at linux.com>

Krzysztof



More information about the linux-arm-kernel mailing list