From: olivier moysan Date: Wed, 31 Jan 2018 16:47:03 +0000 (+0100) Subject: ASoC: stm32: spdifrx: Use default dai name X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=037002b14b7ae217aa79b260228ba51afc516a8c;p=linux.git ASoC: stm32: spdifrx: Use default dai name Use dai name provided by framework from dev_name() function. Signed-off-by: olivier moysan Signed-off-by: Mark Brown --- diff --git a/sound/soc/stm/stm32_spdifrx.c b/sound/soc/stm/stm32_spdifrx.c index 42ad2ae22d211..373df4f24be1a 100644 --- a/sound/soc/stm/stm32_spdifrx.c +++ b/sound/soc/stm/stm32_spdifrx.c @@ -819,7 +819,6 @@ static const struct snd_soc_dai_ops stm32_spdifrx_pcm_dai_ops = { static struct snd_soc_dai_driver stm32_spdifrx_dai[] = { { - .name = "spdifrx-capture-cpu-dai", .probe = stm32_spdifrx_dai_probe, .capture = { .stream_name = "CPU-Capture",