]> www.infradead.org Git - users/jedix/linux-maple.git/commit
pinctrl: iproc-gpio: Remove redundant error printing in iproc_gpio_probe()
authorZhen Lei <thunder.leizhen@huawei.com>
Tue, 11 May 2021 08:51:26 +0000 (16:51 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 19 May 2021 23:37:32 +0000 (01:37 +0200)
commitef9385fbf30e9484e4291db76e000b8961419782
tree023796c8fa4453da6655b94963b40ea51d94b2c1
parent0f9facdbd9d432442e5655425e8702ed8e28f1b8
pinctrl: iproc-gpio: Remove redundant error printing in iproc_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>
Acked-by: Ray Jui <ray.jui@broadcom.com>
Link: https://lore.kernel.org/r/20210511085126.4287-1-thunder.leizhen@huawei.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/bcm/pinctrl-iproc-gpio.c