]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: core: Keep regulators-list locked while traversing the list
authorDmitry Osipenko <digetx@gmail.com>
Sun, 18 Nov 2018 21:56:19 +0000 (00:56 +0300)
committerMark Brown <broonie@kernel.org>
Mon, 19 Nov 2018 12:33:19 +0000 (12:33 +0000)
commit3c86941fa21cab3a32c859bead08a2c5a6bb8d32
tree404096f94c7b7c1cc0167040e6db0bf60929a759
parenta5c6fa5f1f829a3b730978d864a5e4e940649dcb
regulator: core: Keep regulators-list locked while traversing the list

It's unlikely that regulators may disappear/appear while regulators
debug-summary is being prepared, but let's be consistent and avoid that
situation.

Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/core.c