Re: [PATCH v2] rtc: cmos: Use platform_get_irq_optional() in cmos_platform_probe()

From: Alexandre Belloni

Date: Fri Apr 03 2026 - 12:14:51 EST


On Wed, 04 Mar 2026 13:55:43 +0100, Rafael J. Wysocki wrote:
> The rtc-cmos driver can live without an IRQ and returning an error
> code from platform_get_irq() is not a problem for it in general, so
> make it call platform_get_irq_optional() in cmos_platform_probe()
> instead of platform_get_irq() to avoid a confusing error message
> printed by the latter if an IRQ cannot be found for index 0, which
> is possible on x86 platforms.
>
> [...]

Applied, thanks!

[1/1] rtc: cmos: Use platform_get_irq_optional() in cmos_platform_probe()
https://git.kernel.org/abelloni/c/92bad323175e

Best regards,

--
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com