summaryrefslogtreecommitdiff
path: root/drivers/regulator/wm8350-regulator.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2012-03-15 12:49:09 +0800
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-03-26 18:32:11 +0100
commit5777d9b34aec841429ddade56403b3f53a821a1d (patch)
treee3c6b8dee5cf9f9884964d101f892de1a6fea287 /drivers/regulator/wm8350-regulator.c
parent09bf14b901f2c1908b6a72fe934457acdd1fa430 (diff)
downloadlwn-5777d9b34aec841429ddade56403b3f53a821a1d.tar.gz
lwn-5777d9b34aec841429ddade56403b3f53a821a1d.zip
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>
Diffstat (limited to 'drivers/regulator/wm8350-regulator.c')
0 files changed, 0 insertions, 0 deletions