commit | 320fcd6bbd2b500923db518902c2c640242d2b50 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Fri Mar 12 10:42:52 2021 +0300 |
committer | Mark Brown <broonie@kernel.org> | Mon Mar 15 15:42:15 2021 +0000 |
tree | a03ef6d90d3671b7a02fa87fd990ef61e67bc925 | |
parent | 45ee8b79d67905ac57408b30314757981531def9 [diff] |
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: b014e9fae7e7 ("regulator: Support ROHM BD9576MUF and BD9573MUF") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Reviewed-by: Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com> Link: https://lore.kernel.org/r/YEsbfLJfEWtnRpoU@mwanda Signed-off-by: Mark Brown <broonie@kernel.org>