diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2022-02-23 16:06:25 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-02-28 16:33:57 +0300 |
commit | 9b3ff6378df33dbea4b9459ee804b25f1ce294ca (patch) | |
tree | b71ec5cc54dce07a00660d22f95b950d0b30d027 /sound/soc/fsl/imx-pcm-dma.c | |
parent | 7d642c9c14b6fae0c05b91a92a86fae6674a2126 (diff) | |
download | linux-9b3ff6378df33dbea4b9459ee804b25f1ce294ca.tar.xz |
ASoC: fsl: Drop unused argument from imx_pcm_dma_init()
Since 70d435ba1cd ("ASoC: imx-pcm-dma: simplify pcm_config") the size
argument to imx_pcm_dma_init() is unused, so drop it. Also remove the
now unused defines that the users of imx_pcm_dma_init() used to pass the
size argument
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Link: https://lore.kernel.org/r/20220223130625.3430589-1-s.hauer@pengutronix.de
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/fsl/imx-pcm-dma.c')
-rw-r--r-- | sound/soc/fsl/imx-pcm-dma.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/fsl/imx-pcm-dma.c b/sound/soc/fsl/imx-pcm-dma.c index 04a9bc749016..14e94270911c 100644 --- a/sound/soc/fsl/imx-pcm-dma.c +++ b/sound/soc/fsl/imx-pcm-dma.c @@ -34,7 +34,7 @@ static const struct snd_dmaengine_pcm_config imx_dmaengine_pcm_config = { .compat_filter_fn = filter, }; -int imx_pcm_dma_init(struct platform_device *pdev, size_t size) +int imx_pcm_dma_init(struct platform_device *pdev) { struct snd_dmaengine_pcm_config *config; |