[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Thu, 3 Mar 2022 13:39:38 +0000
From: Charles Keepax <ckeepax@...nsource.cirrus.com>
To: Jiasheng Jiang <jiasheng@...as.ac.cn>
CC: <a.zummo@...ertech.it>, <alexandre.belloni@...tlin.com>,
<patches@...nsource.cirrus.com>, <linux-rtc@...r.kernel.org>,
<linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] rtc: rtc-wm8350: Handle error for wm8350_register_irq
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@...as.ac.cn>
> ---
Acked-by: Charles Keepax <ckeepax@...nsource.cirrus.com>
Thanks,
Charles
Powered by blists - more mailing lists