regulator: Fix unbalanced lock/unlock in mc13892_regulator_probe error path
authorAxel Lin <axel.lin@gmail.com>
Thu, 15 Mar 2012 04:49:09 +0000 (12:49 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 26 Mar 2012 17:32:11 +0000 (18:32 +0100)
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>

No differences found