Skip to content
Commit aff041af authored by Mark Brown's avatar Mark Brown
Browse files

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: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: default avatarJohannes Stezenbach <js@sig21.net>
parent 59ac2149
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment