From: Axel Lin Date: Thu, 15 Mar 2012 04:49:09 +0000 (+0800) Subject: regulator: Fix unbalanced lock/unlock in mc13892_regulator_probe error path X-Git-Tag: v3.4-rc2~22^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5777d9b34aec841429ddade56403b3f53a821a1d;p=pandora-kernel.git 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 Signed-off-by: Mark Brown --- Reading git-diff-tree failed