On Thu, Mar 03, 2022 at 04:50:30PM +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. > > Fixes: 077eaf5b40ec ("rtc: rtc-wm8350: add support for WM8350 RTC") > Signed-off-by: Jiasheng Jiang <jiasheng@xxxxxxxxxxx> > --- Acked-by: Charles Keepax <ckeepax@xxxxxxxxxxxxxxxxxxxxx> Thanks, Charles