Skip to content
Unverified Commit 320fcd6b authored by Dan Carpenter's avatar Dan Carpenter Committed by Mark Brown
Browse files

regulator: bd9576: Fix return from bd957x_probe()

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: b014e9fa

 ("regulator: Support ROHM BD9576MUF and BD9573MUF")
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: default avatarMatti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
Link: https://lore.kernel.org/r/YEsbfLJfEWtnRpoU@mwanda
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 45ee8b79
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment