ASoC: stm32: spdifrx: Use default dai name

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

Signed-off-by: olivier moysan <olivier.moysan@st.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
olivier moysan 2018-01-31 17:47:03 +01:00 committed by Mark Brown
parent b9aa471628
commit 037002b14b
No known key found for this signature in database
GPG Key ID: 24D68B725D5487D0

View File

@ -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[] = { static struct snd_soc_dai_driver stm32_spdifrx_dai[] = {
{ {
.name = "spdifrx-capture-cpu-dai",
.probe = stm32_spdifrx_dai_probe, .probe = stm32_spdifrx_dai_probe,
.capture = { .capture = {
.stream_name = "CPU-Capture", .stream_name = "CPU-Capture",