[PATCH -next v2] i2c: remove redundant dev_err_probe()

Andi Shyti andi.shyti at kernel.org
Wed Aug 2 13:10:36 PDT 2023


Hi

On Tue, 01 Aug 2023 21:48:14 +0800, Zhu Wang wrote:
> 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.
> 
> 
> [...]

Applied to i2c/andi-for-next on

https://git.kernel.org/pub/scm/linux/kernel/git/andi.shyti/linux.git

Please note that this patch may still undergo further evaluation
and the final decision will be made in collaboration with
Wolfram.

Thank you,
Andi

Patches applied
===============
[1/1] i2c: remove redundant dev_err_probe()
      commit: 6a07ab839a9c14df82ba2fe0b5dd4faa85a64d89



More information about the linux-riscv mailing list