diff options
author | Zhu Wang <[email protected]> | 2023-08-01 21:48:14 +0800 |
---|---|---|
committer | Andi Shyti <[email protected]> | 2023-08-08 15:36:55 +0200 |
commit | adcf6eae6d21f480c6d4d691e8dfa5a5223d71c6 (patch) | |
tree | 354a624f9f5e8644cf0a06fbaf2991afad31a1ca /drivers/platform/surface/aggregator/ssh_parser.c | |
parent | f5d5bc5fda5cfc127d258166e5d6d91cf17efd48 (diff) |
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 <[email protected]>
Reviewed-by: Conor Dooley <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Andi Shyti <[email protected]>
Diffstat (limited to 'drivers/platform/surface/aggregator/ssh_parser.c')
0 files changed, 0 insertions, 0 deletions