Searched refs:z2_snd_device (Results 1 – 1 of 1) sorted by relevance
186 static struct platform_device *z2_snd_device; variable195 z2_snd_device = platform_device_alloc("soc-audio", -1); in z2_init()196 if (!z2_snd_device) in z2_init()199 platform_set_drvdata(z2_snd_device, &snd_soc_z2); in z2_init()200 ret = platform_device_add(z2_snd_device); in z2_init()203 platform_device_put(z2_snd_device); in z2_init()210 platform_device_unregister(z2_snd_device); in z2_exit()