ASoC: Dynamically allocate the rtd device for a non-empty release()
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Sat, 7 Jan 2012 01:12:45 +0000 (17:12 -0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 10 Jan 2012 22:53:56 +0000 (14:53 -0800)
commit36ae1a96c4dcb0f6581d595cc5d43cf3a7e648c7
treef0de43670060374bf9f2e81a4c2fcb65dc821545
parente4e9e05409280b50003280afffe27ade21480dd7
ASoC: Dynamically allocate the rtd device for a non-empty release()

The device model needs a release() function so it can free devices when
they become dereferenced.  Do that for rtds.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
include/sound/soc.h
sound/soc/soc-core.c
sound/soc/soc-dapm.c