diff options
author | Michał Mirosław <mirq-linux@rere.qmqm.pl> | 2020-08-10 06:33:32 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-09-07 19:35:24 +0200 |
commit | 3bca239d6184df61a619d78764e0481242d844b4 (patch) | |
tree | abe6e3d8718a283def01812befae6af95eaf4e40 /net/dsa | |
parent | regulator: bd71847: add property for omitting ON/OFF control (diff) | |
download | linux-3bca239d6184df61a619d78764e0481242d844b4.tar.xz linux-3bca239d6184df61a619d78764e0481242d844b4.zip |
regulator: don't require mutex for regulator_notifier_call_chain()
Since 3801b86aa482 ("regulator: Refactor supply implementation
to work as regular consumers") we no longer cascade notifications
and so notifier head's built-in rwsem is enough to protect the
notifier chain. Remove the requirement to fix one case where
rdev->mutex might be forced to be taken recursively.
Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Reviewed-by: Dmitry Osipenko <digetx@gmail.com>
Link: https://lore.kernel.org/r/5a0da9017c69a4dbc3f9b50f44476fce80a73387.1597032945.git.mirq-linux@rere.qmqm.pl
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'net/dsa')
0 files changed, 0 insertions, 0 deletions