Re: [PATCH 1/1] drm/mediatek: Remove redundant error printing in mtk_cec_probe()

2021-05-12 Thread Baruch Siach
Hi Zhen Lei, On Tue, May 11 2021, Zhen Lei 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,

Re: [PATCH 1/1] drm/mediatek: Remove redundant error printing in mtk_cec_probe()

2021-05-11 Thread Leizhen (ThunderTown)
On 2021/5/11 21:13, Baruch Siach wrote: > Hi Zhen Lei, > > On Tue, May 11 2021, Zhen Lei 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,

[PATCH 1/1] drm/mediatek: Remove redundant error printing in mtk_cec_probe()

2021-05-11 Thread Zhen Lei
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