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)
commit8872293fc38c4906c86e7d335b8f936abf9e4531
tree2981a659bcaf70c051cd18a4fc661db35b3dbb43
parent58fee775b7a18a0174931af6174536560785d500
ASoC: dapm: Add a helper function to free a DAPM path

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