power: reset: at91-sama5d2_shdwc: Remove redundant error printing in at91_shdwc_probe()
authorZhen Lei <thunder.leizhen@huawei.com>
Tue, 11 May 2021 09:49:19 +0000 (17:49 +0800)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Fri, 4 Jun 2021 11:04:01 +0000 (13:04 +0200)
commit8ef9f687abff3b8e44578b810a74fdcf753478f3
treea87ed79068b134f595afb5e0e42bc9493d35f44c
parented3443fb4df4e140a22f65144546c8a8e1e27f4e
power: reset: at91-sama5d2_shdwc: Remove redundant error printing in at91_shdwc_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: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/reset/at91-sama5d2_shdwc.c