Lines Matching refs:smartq_snd_device
233 static struct platform_device *smartq_snd_device;
244 smartq_snd_device = platform_device_alloc("soc-audio", -1);
245 if (!smartq_snd_device)
248 platform_set_drvdata(smartq_snd_device, &smartq_snd_devdata);
249 smartq_snd_devdata.dev = &smartq_snd_device->dev;
251 ret = platform_device_add(smartq_snd_device);
253 platform_device_put(smartq_snd_device);
260 dev_err(&smartq_snd_device->dev, "Failed to register GPK12\n");
267 dev_err(&smartq_snd_device->dev, "Failed to configure GPK12\n");
276 platform_device_unregister(smartq_snd_device);
286 platform_device_unregister(smartq_snd_device);