/* Note that currently this is an internal only function: it will be exposed to machine drivers after further backporting of ASoC v2 registration APIs.  */
static int snd_soc_unregister_card(struct snd_soc_card *card)
/* Note that currently this is an internal only function: it will be exposed to machine drivers after further backporting of ASoC v2 registration APIs.  */
static int snd_soc_unregister_card(struct snd_soc_card *card)
{
	mutex_lock(&client_mutex);
	list_del(&card->list);
	mutex_unlock(&client_mutex);
	dev_dbg(card->dev, "Unregistered card '%s'\n", card->name);
	return 0;
}