On Thu, Oct 17, 2013 at 05:01:15PM +0800, Xiubo Li wrote: > + ret = snd_soc_register_card(&fsl_sgt1500_card); > + if (ret) { > + dev_err(&pdev->dev, "register soc sound card failed :%d\n", > + ret); > + return ret; > + } Use the newly added devm_snd_soc_register_card() (in -next).
Attachment:
signature.asc
Description: Digital signature