diff options
author | Zhen Lei <thunder.leizhen@huawei.com> | 2021-05-11 16:51:26 +0800 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2021-05-20 01:37:32 +0200 |
commit | ef9385fbf30e9484e4291db76e000b8961419782 (patch) | |
tree | 023796c8fa4453da6655b94963b40ea51d94b2c1 /drivers/pinctrl/qcom | |
parent | 0f9facdbd9d432442e5655425e8702ed8e28f1b8 (diff) | |
download | linux-ef9385fbf30e9484e4291db76e000b8961419782.tar.gz linux-ef9385fbf30e9484e4291db76e000b8961419782.tar.bz2 linux-ef9385fbf30e9484e4291db76e000b8961419782.zip |
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>
Diffstat (limited to 'drivers/pinctrl/qcom')
0 files changed, 0 insertions, 0 deletions