Lines Matching refs:playpaq_snd_device
386 static struct platform_device *playpaq_snd_device;
436 playpaq_snd_device = platform_device_alloc("soc-audio", 0);
437 if (playpaq_snd_device == NULL) {
442 platform_set_drvdata(playpaq_snd_device, &playpaq_wm8510_snd_devdata);
443 playpaq_wm8510_snd_devdata.dev = &playpaq_snd_device->dev;
445 ret = platform_device_add(playpaq_snd_device);
456 if (playpaq_snd_device != NULL) {
457 platform_device_put(playpaq_snd_device);
458 playpaq_snd_device = NULL;
503 platform_device_unregister(playpaq_snd_device);
504 playpaq_snd_device = NULL;