summaryrefslogtreecommitdiff
path: root/lib/locking-selftest-rsem.h
diff options
context:
space:
mode:
authorNiklas Cassel <niklas.cassel@linaro.org>2019-02-18 20:29:14 +0100
committerMark Brown <broonie@kernel.org>2019-02-19 11:01:44 +0000
commitc407438f8795e6b403674b51fbdf5b3d66f811a4 (patch)
tree8ea1dbd45d70ebfa6d8b8ba7f38ad8ec64a8d3f7 /lib/locking-selftest-rsem.h
parentef541f73d1a87723a9f5bcc76669c98d20292cfa (diff)
regulator: core: Drop lockdep annotation in drms_uA_update()
commit e5e21f70bfd3 ("regulator: core: Take lock before applying system load") took the regulator lock before calling drms_uA_update() in order to silence a lockdep warning during regulator_register(). However, we are not supposed to need locks at this point as the regulator is in the process of being registered, so there should be no possibility of concurrent access. Instead, remove the unnecessary locking and simply drop the lockdep annotation, since it is no longer valid. Fixes: e5e21f70bfd3 ("regulator: core: Take lock before applying system load") Signed-off-by: Niklas Cassel <niklas.cassel@linaro.org> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'lib/locking-selftest-rsem.h')
0 files changed, 0 insertions, 0 deletions