[PATCH] rtc: st-lpc: get IRQ via platform_get_irq()

Alexandre Belloni alexandre.belloni at bootlin.com
Wed Aug 19 09:31:11 PDT 2026


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



More information about the linux-arm-kernel mailing list