diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2013-11-28 07:50:35 (GMT) |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-12-02 11:48:54 (GMT) |
commit | 7e6d18ac7ea1372b462778ff7c416ceaabe71b66 (patch) | |
tree | a9a969c8f2d201197f96e2c5f493cfdf430f8a62 /sound/soc/fsl/imx-pcm.h | |
parent | 75ab73bc5d0e625e9d886653ec98d0e9d6ad4c68 (diff) | |
download | linux-7e6d18ac7ea1372b462778ff7c416ceaabe71b66.tar.xz |
ASoC: fsl: Use devm_snd_dmaengine_pcm_register()
Makes the code shorter.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/fsl/imx-pcm.h')
-rw-r--r-- | sound/soc/fsl/imx-pcm.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/sound/soc/fsl/imx-pcm.h b/sound/soc/fsl/imx-pcm.h index 5d5b733..c79cb27 100644 --- a/sound/soc/fsl/imx-pcm.h +++ b/sound/soc/fsl/imx-pcm.h @@ -40,16 +40,11 @@ struct imx_pcm_fiq_params { #if IS_ENABLED(CONFIG_SND_SOC_IMX_PCM_DMA) int imx_pcm_dma_init(struct platform_device *pdev); -void imx_pcm_dma_exit(struct platform_device *pdev); #else static inline int imx_pcm_dma_init(struct platform_device *pdev) { return -ENODEV; } - -static inline void imx_pcm_dma_exit(struct platform_device *pdev) -{ -} #endif #if IS_ENABLED(CONFIG_SND_SOC_IMX_PCM_FIQ) |