]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3ca92413b2e260d61cf2a6eefcd66fe2df3d7a8d
tree90bfe9b3a1bbae9af01f6533b397611cd4e63b4d
parent230e081b02fb9d89e324967481c0937ae5dd15d1
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