ASoC: sgtl5000: refactor registering internal ldo
authorWolfram Sang <w.sang@pengutronix.de>
Mon, 18 Jul 2011 15:53:03 +0000 (17:53 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 19 Jul 2011 15:19:22 +0000 (16:19 +0100)
commite94a4062c88e5245fef91ceac86788ae336f755b
tree257eb60c3a9621ebb50caa352a4c4e414513beca
parent1c8371d61e3a8e65fe6ef4ac535d1cd6d8ec7650
ASoC: sgtl5000: refactor registering internal ldo

The code for registering the internal ldo was present twice. Turn it
into a function instead. Also, inform the user if LDO is used now.

Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Tested-by: Dong Aisheng <b29396@freescale.com>
Tested-by: Shawn Guo <shawn.guo@freescale.com>
Acked-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/sgtl5000.c