[PATCH 2/2] ASoC: stm32: spdifrx: Use default dai name

From: Olivier Moysan
Date: Wed Jan 31 2018 - 11:50:47 EST


Use dai name provided by framework from dev_name() function.

Signed-off-by: olivier moysan <olivier.moysan@xxxxxx>
---
sound/soc/stm/stm32_spdifrx.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/sound/soc/stm/stm32_spdifrx.c b/sound/soc/stm/stm32_spdifrx.c
index 42ad2ae..373df4f 100644
--- a/sound/soc/stm/stm32_spdifrx.c
+++ b/sound/soc/stm/stm32_spdifrx.c
@@ -819,7 +819,6 @@ static void stm32_spdifrx_shutdown(struct snd_pcm_substream *substream,

static struct snd_soc_dai_driver stm32_spdifrx_dai[] = {
{
- .name = "spdifrx-capture-cpu-dai",
.probe = stm32_spdifrx_dai_probe,
.capture = {
.stream_name = "CPU-Capture",
--
1.9.1