Searched refs:snd_dev (Results 1 – 1 of 1) sorted by relevance
301 struct platform_device *snd_dev; in simtec_audio_core_probe() local328 snd_dev = platform_device_alloc("soc-audio", -1); in simtec_audio_core_probe()329 if (!snd_dev) { in simtec_audio_core_probe()335 platform_set_drvdata(snd_dev, card); in simtec_audio_core_probe()337 ret = platform_device_add(snd_dev); in simtec_audio_core_probe()343 platform_set_drvdata(pdev, snd_dev); in simtec_audio_core_probe()347 platform_device_put(snd_dev); in simtec_audio_core_probe()360 struct platform_device *snd_dev = platform_get_drvdata(pdev); in simtec_audio_remove() local362 platform_device_unregister(snd_dev); in simtec_audio_remove()
Completed in 3 milliseconds