commit | 5777d9b34aec841429ddade56403b3f53a821a1d | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@gmail.com> | Thu Mar 15 12:49:09 2012 +0800 |
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | Mon Mar 26 18:32:11 2012 +0100 |
tree | e3c6b8dee5cf9f9884964d101f892de1a6fea287 | |
parent | 09bf14b901f2c1908b6a72fe934457acdd1fa430 [diff] |
regulator: Fix unbalanced lock/unlock in mc13892_regulator_probe error path We do not hold a lock while registering regulator, thus should not call unlock if regulator_register fails. Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>