diff options
author | Michał Mirosław <mirq-linux@rere.qmqm.pl> | 2020-08-12 03:31:38 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-08-17 13:13:55 +0100 |
commit | a577f3456c0a2fac3dee037c483753e6e68f3e49 (patch) | |
tree | 82885dce13f9ba6361a0793dfe015bef48724529 /lib/mpi/mpiutil.c | |
parent | 2dbf085594370abc1453356518719300d8a7acc1 (diff) |
regulator: remove superfluous lock in regulator_resolve_coupling()
The code modifies rdev, but locks c_rdev instead. Remove the lock
as this is held together by regulator_list_mutex taken in the caller.
Fixes: f9503385b187 ("regulator: core: Mutually resolve regulators coupling")
Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Reviewed-by: Dmitry Osipenko <digetx@gmail.com>
Link: https://lore.kernel.org/r/25eb81cefb37a646f3e44eaaf1d8ae8881cfde52.1597195321.git.mirq-linux@rere.qmqm.pl
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions