|
@@ -208,18 +208,6 @@ static int omap_twl4030_init(struct snd_soc_pcm_runtime *rtd)
|
|
|
return ret;
|
|
|
}
|
|
|
|
|
|
-static int omap_twl4030_card_remove(struct snd_soc_card *card)
|
|
|
-{
|
|
|
- struct omap_twl4030 *priv = snd_soc_card_get_drvdata(card);
|
|
|
-
|
|
|
- if (priv->jack_detect > 0)
|
|
|
- snd_soc_jack_free_gpios(&priv->hs_jack,
|
|
|
- ARRAY_SIZE(hs_jack_gpios),
|
|
|
- hs_jack_gpios);
|
|
|
-
|
|
|
- return 0;
|
|
|
-}
|
|
|
-
|
|
|
/* Digital audio interface glue - connects codec <--> CPU */
|
|
|
static struct snd_soc_dai_link omap_twl4030_dai_links[] = {
|
|
|
{
|
|
@@ -247,7 +235,6 @@ static struct snd_soc_dai_link omap_twl4030_dai_links[] = {
|
|
|
/* Audio machine driver */
|
|
|
static struct snd_soc_card omap_twl4030_card = {
|
|
|
.owner = THIS_MODULE,
|
|
|
- .remove = omap_twl4030_card_remove,
|
|
|
.dai_link = omap_twl4030_dai_links,
|
|
|
.num_links = ARRAY_SIZE(omap_twl4030_dai_links),
|
|
|
|