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

Wolfram Sang wsa at kernel.org
Mon Aug 14 08:11:06 PDT 2023


On Wed, Aug 02, 2023 at 10:10:36PM +0200, Andi Shyti wrote:
> 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

Applied to for-next (via Andi's branch), thanks!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20230814/850a2b28/attachment.sig>


More information about the linux-arm-kernel mailing list