ASoC: dapm: Add a helper function to free a DAPM path
authorLars-Peter Clausen <lars@metafoo.de>
Fri, 14 Jun 2013 11:16:53 +0000 (13:16 +0200)
committerMark Brown <broonie@linaro.org>
Fri, 14 Jun 2013 11:34:11 +0000 (12:34 +0100)
We have the same code for freeing a DAPM path in three different locations.
Introduce a new helper function to take care of this.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/soc-dapm.c

Simple merge