diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2021-04-19 04:02:25 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-04-20 18:25:45 +0200 |
commit | f6fcc820e0c96664e2f21c0d6bb60630243ef36a (patch) | |
tree | 8b442a7ad8606014f9fdd4807888b1411fdf2351 /sound/soc/generic/simple-card.c | |
parent | ASoC: audio-graph: move audio_graph_card_probe() to simple-card-utils.c (diff) | |
download | linux-f6fcc820e0c96664e2f21c0d6bb60630243ef36a.tar.xz linux-f6fcc820e0c96664e2f21c0d6bb60630243ef36a.zip |
ASoC: audio-graph: move audio_graph_remove() to simple-card-utils.c
audio-graph-card2 can reuse audio_graph_remove() / asoc_simple_remove().
This patch moves it to simple-card-utils.c.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://lore.kernel.org/r/87y2df3uby.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/generic/simple-card.c')
-rw-r--r-- | sound/soc/generic/simple-card.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/sound/soc/generic/simple-card.c b/sound/soc/generic/simple-card.c index ca27cb9ff9e1..a1373be4558f 100644 --- a/sound/soc/generic/simple-card.c +++ b/sound/soc/generic/simple-card.c @@ -708,13 +708,6 @@ err: return ret; } -static int asoc_simple_remove(struct platform_device *pdev) -{ - struct snd_soc_card *card = platform_get_drvdata(pdev); - - return asoc_simple_clean_reference(card); -} - static const struct of_device_id simple_of_match[] = { { .compatible = "simple-audio-card", }, { .compatible = "simple-scu-audio-card", |