From: Mark Brown Date: Mon, 10 Sep 2012 02:59:51 +0000 (+0800) Subject: ASoC: sta32x: Move regulator acquisition to I2C probe X-Git-Tag: v3.7-rc1~81^2~14^2~87 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aff041af948f5cdf51e2115f267957a89f28ac0f;p=pandora-kernel.git ASoC: sta32x: Move regulator acquisition to I2C probe This is better style as it ensures we don't try to do the ASoC probe without required resources. Also convert to devm_ while we're at it, saving a bit of code, and fix a leak of enable on error. Signed-off-by: Mark Brown Acked-by: Johannes Stezenbach --- Reading git-diff-tree failed