ASoC: dapm: Refactor snd_soc_dapm_new_widget() to return the widget
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 16 Feb 2012 19:07:13 +0000 (11:07 -0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 17 Feb 2012 16:09:56 +0000 (08:09 -0800)
commit5ba06fc969d068dee9a59f1fa3dbe58e235fa913
treeaf5ab93d1688cd99bad814bb4c1075171c0af033
parentce0e9f0ede349097c849db9c3aa7e947fc443552
ASoC: dapm: Refactor snd_soc_dapm_new_widget() to return the widget

Let the caller fiddle with the widget after we're done in order to
facilitate further refactoring.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@ti.com>
sound/soc/soc-dapm.c