commit | aff041af948f5cdf51e2115f267957a89f28ac0f | [log] [tgz] |
---|---|---|
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | Mon Sep 10 10:59:51 2012 +0800 |
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | Mon Sep 10 17:26:00 2012 +0800 |
tree | cccae277f7b5e6c0a742c8032e62a14829a13356 | |
parent | 59ac2149aee9b69732dad602ea250ecb60b9e617 [diff] |
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 <broonie@opensource.wolfsonmicro.com> Acked-by: Johannes Stezenbach <js@sig21.net>