OSDN Git Service

mailbox: bcm-pdc: Remove redundant error printing in pdc_probe()
authorZhen Lei <thunder.leizhen@huawei.com>
Tue, 11 May 2021 11:56:54 +0000 (19:56 +0800)
committerJassi Brar <jaswinder.singh@linaro.org>
Sat, 26 Jun 2021 16:37:50 +0000 (11:37 -0500)
commit3edf083f901fb0ff26b2eb107eb15c93d3e62545
tree90bfe9b3a1bbae9af01f6533b397611cd4e63b4d
parent9f0752355b211c98ccf2c678e8fddda8d325501a
mailbox: bcm-pdc: Remove redundant error printing in pdc_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/bcm-pdc-mailbox.c