Re: [PATCH] mfd: sm501: Fix leaks in probe()
From: Lee Jones
Date: Thu Sep 24 2020 - 08:40:36 EST
On Fri, 11 Sep 2020, Dan Carpenter wrote:
> This code should clean up if sm501_init_dev() fails.
>
> Fixes: b6d6454fdb66 ("[PATCH] mfd: SM501 core driver")
> Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>
> ---
> drivers/mfd/sm501.c | 8 +++++++-
> 1 file changed, 7 insertions(+), 1 deletion(-)
Applied, thanks.
--
Lee Jones [李琼斯]
Senior Technical Lead - Developer Services
Linaro.org │ Open source software for Arm SoCs
Follow Linaro: Facebook | Twitter | Blog