Searched hist:adcf6eae6d21f480c6d4d691e8dfa5a5223d71c6 (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/i2c/busses/ |
H A D | i2c-microchip-corei2c.c | diff adcf6eae6d21f480c6d4d691e8dfa5a5223d71c6 Tue Aug 01 08:48:14 CDT 2023 Zhu Wang <wangzhu9@huawei.com> 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>
|
H A D | i2c-davinci.c | diff adcf6eae6d21f480c6d4d691e8dfa5a5223d71c6 Tue Aug 01 08:48:14 CDT 2023 Zhu Wang <wangzhu9@huawei.com> 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>
|