summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/i2c
diff options
context:
space:
mode:
authorZhu Wang <wangzhu9@huawei.com>2023-08-01 16:48:14 +0300
committerAndi Shyti <andi.shyti@kernel.org>2023-08-08 16:36:55 +0300
commitadcf6eae6d21f480c6d4d691e8dfa5a5223d71c6 (patch)
tree354a624f9f5e8644cf0a06fbaf2991afad31a1ca /Documentation/devicetree/bindings/i2c
parentf5d5bc5fda5cfc127d258166e5d6d91cf17efd48 (diff)
downloadlinux-adcf6eae6d21f480c6d4d691e8dfa5a5223d71c6.tar.xz
i2c: remove redundant dev_err_probe()
When platform_get_irq() is called, the error message has been printed, so it need not to call dev_err_probe() to print error. As the comment of platform_get_irq() says, it returned non-zero value when it succeeded, and it returned negative value when it failed. Signed-off-by: Zhu Wang <wangzhu9@huawei.com> Reviewed-by: Conor Dooley <conor.dooley@microchip.com> Link: https://lore.kernel.org/r/20230801134814.247782-1-wangzhu9@huawei.com Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/i2c')
0 files changed, 0 insertions, 0 deletions