Re: [PATCH] rtc: rtc-wm8350: Handle error for wm8350_register_irq

From: Alexandre Belloni
Date: Tue Mar 08 2022 - 20:22:57 EST


On Thu, 3 Mar 2022 16:50:30 +0800, Jiasheng Jiang wrote:
> As the potential failure of the wm8350_register_irq(),
> it should be better to check it and return error if fails.
> Also, it need not free 'wm_rtc->rtc' since it will be freed
> automatically.
>
>

Applied, thanks!

[1/1] rtc: rtc-wm8350: Handle error for wm8350_register_irq
commit: 5e086367298dfaa1617885e797c8a58873365f03

Best regards,
--
Alexandre Belloni <alexandre.belloni@xxxxxxxxxxx>