diff options
author | Douglas Anderson <dianders@chromium.org> | 2022-08-09 14:27:45 -0700 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-08-10 14:52:07 +0100 |
commit | d511e8a7e850db567cd7f633288aa96a19508e5b (patch) | |
tree | df07f513f37dd49bdee276c22075744fb07d79bd /drivers/pinctrl | |
parent | b0de7fa706506bf0591037908376351beda8c5d6 (diff) | |
download | linux-stable-d511e8a7e850db567cd7f633288aa96a19508e5b.tar.gz linux-stable-d511e8a7e850db567cd7f633288aa96a19508e5b.tar.bz2 linux-stable-d511e8a7e850db567cd7f633288aa96a19508e5b.zip |
regulator: core: Fix missing error return from regulator_bulk_get()
In commit 6eabfc018e8d ("regulator: core: Allow specifying an initial
load w/ the bulk API") I changed the error handling but had a subtle
that caused us to always return no error even if there was an
error. Fix it.
Fixes: 6eabfc018e8d ("regulator: core: Allow specifying an initial load w/ the bulk API")
Signed-off-by: Douglas Anderson <dianders@chromium.org>
Link: https://lore.kernel.org/r/20220809142738.1.I91625242f137c707bb345c51c80c5ecee02eeff3@changeid
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/pinctrl')
0 files changed, 0 insertions, 0 deletions