]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mmc: jz4740: Remove redundant error printing in jz4740_mmc_probe()
authorZhen Lei <thunder.leizhen@huawei.com>
Tue, 11 May 2021 09:33:29 +0000 (17:33 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 24 May 2021 13:12:30 +0000 (15:12 +0200)
commit48851b13877e31c24e1efa6dd5bd95b535a84199
tree09f9fa9ee8e4b61964087b54009a10e6c39c086f
parentac5eb12c4dec5d8f648812386dcbd6d84ced5341
mmc: jz4740: Remove redundant error printing in jz4740_mmc_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>
Link: https://lore.kernel.org/r/20210511093329.4670-1-thunder.leizhen@huawei.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/jz4740_mmc.c