Repository navigation
Commit a577f34
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: f950338 ("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>1 parent 2dbf085 commit a577f34
1 file changed
Lines changed: 0 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4972 | 4972 | | |
4973 | 4973 | | |
4974 | 4974 | | |
4975 | | - | |
4976 | | - | |
4977 | 4975 | | |
4978 | 4976 | | |
4979 | 4977 | | |
4980 | | - | |
4981 | | - | |
4982 | 4978 | | |
4983 | 4979 | | |
4984 | 4980 | | |
| |||
0 commit comments