aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins
diff options
context:
space:
mode:
authorMark Brown <[email protected]>2015-08-07 13:00:35 +0100
committerMark Brown <[email protected]>2015-08-07 13:03:20 +0100
commit7cd71c3ba166913a0afb8ac0d6bd5d2730fea6df (patch)
tree6cec7bd12d0fe054853a584e009abac1056c760a /scripts/gcc-plugins
parent70cfef26267474f94ff4a988fb45ff78442b1cf4 (diff)
regulator: core: Drop regulator_list_mutex when we're done with it on remove
When removing a regulator we hold regulator_list_mutex in order to ensure the regualtor doesn't become removed again. However we only need to protect the list until we remove the regulator from the list so move the unlock earlier to reduce the locked region. Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins')
0 files changed, 0 insertions, 0 deletions