summaryrefslogtreecommitdiff
path: root/sound/soc/davinci/davinci-pcm.h
diff options
context:
space:
mode:
authorPeter Ujfalusi <peter.ujfalusi@ti.com>2014-04-22 14:03:12 +0300
committerMark Brown <broonie@linaro.org>2014-04-22 12:51:22 +0100
commit70e7a023cc9e9afafe503fa5533323ffe7091604 (patch)
tree521c50a76a32e39c38d21ad9927812f7b5574d90 /sound/soc/davinci/davinci-pcm.h
parentd5c6c59a9d46113aebfd71f995b9e6e9af6a12b8 (diff)
downloadlinux-70e7a023cc9e9afafe503fa5533323ffe7091604.tar.gz
ASoC: davinci-pcm: Convert to use devm_snd_soc_register_platform()
Remove the cleanup code related to the platform from the DAI drivers at the same time to avoid breakage. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/davinci/davinci-pcm.h')
-rw-r--r--sound/soc/davinci/davinci-pcm.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/sound/soc/davinci/davinci-pcm.h b/sound/soc/davinci/davinci-pcm.h
index 5fd4737ab398..0fe2346a9aa2 100644
--- a/sound/soc/davinci/davinci-pcm.h
+++ b/sound/soc/davinci/davinci-pcm.h
@@ -31,15 +31,11 @@ struct davinci_pcm_dma_params {
#if IS_ENABLED(CONFIG_SND_DAVINCI_SOC)
int davinci_soc_platform_register(struct device *dev);
-void davinci_soc_platform_unregister(struct device *dev);
#else
static inline int davinci_soc_platform_register(struct device *dev)
{
return 0;
}
-static inline void davinci_soc_platform_unregister(struct device *dev)
-{
-}
#endif /* CONFIG_SND_DAVINCI_SOC */
#endif