[PATCH -next] i2c: stm32: fix the return value handle for platform_get_irq()
Wolfram Sang
wsa at kernel.org
Mon Aug 14 08:14:34 PDT 2023
On Sat, Aug 05, 2023 at 03:29:12AM +0200, Andi Shyti wrote:
> Hi
>
> On Mon, 31 Jul 2023 19:27:55 +0800, Ruan Jinjie wrote:
> > There is no possible for platform_get_irq() to return 0,
> > and the return value of platform_get_irq() is more sensible
> > to show the error reason.
> >
> >
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/175bba47/attachment.sig>
More information about the linux-arm-kernel
mailing list