mailbox: mediatek: Remove redundant error printing in cmdq_probe()
authorZhen Lei <thunder.leizhen@huawei.com>
Tue, 11 May 2021 11:35:58 +0000 (19:35 +0800)
committerJassi Brar <jaswinder.singh@linaro.org>
Sat, 26 Jun 2021 16:37:51 +0000 (11:37 -0500)
commitff16cae3a31a2ff9dbfd3c053f252128e66c8aba
treee29833ab1e1cc63a99f9f95d048aa617073258bb
parent3edf083f901fb0ff26b2eb107eb15c93d3e62545
mailbox: mediatek: Remove redundant error printing in cmdq_probe()

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@huawei.com>
Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
drivers/mailbox/mtk-cmdq-mailbox.c