Re: [PATCH] rtc: st-lpc: get IRQ via platform_get_irq()
Alexandre Belloni <[email protected]>
| Newsgroups | dev.linux.lists.llvm,org.infradead.lists.linux-arm-kernel,org.kernel.vger.linux-kernel,org.kernel.vger.linux-rtc |
|---|---|
| Message-ID | <178715693847.130787.13227961965648988698.b4-ty@b4> |
On Mon, 13 Jul 2026 17:22:59 -0700, Rosen Penev wrote:
> Replace irq_of_parse_and_map() with platform_get_irq(), which resolves
> the interrupt from pdev->dev.of_node directly and returns a positive IRQ
> or a negative errno (it never returns 0). Propagate the error on failure
> instead of the previous open-coded "IRQ missing or invalid" / -EINVAL
> message, so -EPROBE_DEFER is handled correctly. The rtc->irq field is a
> signed short, so the negative error code is preserved.
>
> [...]
Applied, thanks!
[1/1] rtc: st-lpc: get IRQ via platform_get_irq()
https://git.kernel.org/abelloni/c/da5e8713aee5
Best regards,
--
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com