Messages in this thread | | | Date | Fri, 4 Mar 2022 21:58:30 +0100 | From | Sebastian Reichel <> | Subject | Re: [PATCH v2] power: supply: Handle error for wm8350_register_irq |
| |
Hi,
On Fri, Mar 04, 2022 at 10:00:11AM +0000, Charles Keepax wrote: > On Fri, Mar 04, 2022 at 09:57:51AM +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, use 'free_' in order to avoid same code. > > > > Fixes: 14431aa0c5a4 ("power_supply: Add support for WM8350 PMU") > > Signed-off-by: Jiasheng Jiang <jiasheng@iscas.ac.cn> > > --- > > Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Thanks, queued.
-- Sebastian [unhandled content-type:application/pgp-signature] | |