Re: [PATCH] regulator: bd9576: Fix return from bd957x_probe()

2021-03-15 Thread Mark Brown
On Fri, 12 Mar 2021 10:42:52 +0300, Dan Carpenter wrote: > The probe() function returns an uninitialized variable in the success > path. There is no need for the "err" variable at all, just delete it. Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-next

Re: [PATCH] regulator: bd9576: Fix return from bd957x_probe()

2021-03-14 Thread Matti Vaittinen
On Fri, 2021-03-12 at 10:42 +0300, Dan Carpenter wrote: > The probe() function returns an uninitialized variable in the success > path. There is no need for the "err" variable at all, just delete > it. > > Fixes: b014e9fae7e7 ("regulator: Support ROHM BD9576MUF and > BD9573MUF") > Signed-off-by

[PATCH] regulator: bd9576: Fix return from bd957x_probe()

2021-03-11 Thread Dan Carpenter
The probe() function returns an uninitialized variable in the success path. There is no need for the "err" variable at all, just delete it. Fixes: b014e9fae7e7 ("regulator: Support ROHM BD9576MUF and BD9573MUF") Signed-off-by: Dan Carpenter --- drivers/regulator/bd9576-regulator.c | 11