gpio: logicvc: Remove redundant error printing in logicvc_gpio_probe()
authorZhen Lei <thunder.leizhen@huawei.com>
Tue, 11 May 2021 10:06:46 +0000 (18:06 +0800)
committerBartosz Golaszewski <bgolaszewski@baylibre.com>
Wed, 12 May 2021 11:35:39 +0000 (13:35 +0200)
commitc35fb576652dfa1c9692f0a2701b37d813ea75af
tree05cf2d1dfd743edc56ce841c97695ba70485af6e
parent63c4acfb8031fbcd50cf51cb94aaadc816d99c7c
gpio: logicvc: Remove redundant error printing in logicvc_gpio_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: Bartosz Golaszewski <bgolaszewski@baylibre.com>
drivers/gpio/gpio-logicvc.c