]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4442b7b702c149ab311310e3e3c07208b23edcc5
tree2981a659bcaf70c051cd18a4fc661db35b3dbb43
parentd6aba0bd43c2f718058ea6bbf24e7bf6a216a883
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