diff options
author | Takashi Iwai <tiwai@suse.de> | 2017-08-22 13:59:48 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-08-22 14:38:53 +0200 |
commit | 90c265c65a3216ea236ed8e81d0a8d6411c26e88 (patch) | |
tree | 955cee06f184af7ac39d36f00505f88ab17e24a5 /sound/soc/omap/ams-delta.c | |
parent | ASoC: intel: Remove superfluous snd_soc_jack_free_gpios() call (diff) | |
download | linux-90c265c65a3216ea236ed8e81d0a8d6411c26e88.tar.xz linux-90c265c65a3216ea236ed8e81d0a8d6411c26e88.zip |
ASoC: omap: Remove superfluous snd_soc_jack_free_gpios() call
Since jack gpios are managed via devres, we don't have to call
snd_jack_free_gpios() at release any longer.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/omap/ams-delta.c')
-rw-r--r-- | sound/soc/omap/ams-delta.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/sound/soc/omap/ams-delta.c b/sound/soc/omap/ams-delta.c index 16cc95fa4573..6c49f3d6fd96 100644 --- a/sound/soc/omap/ams-delta.c +++ b/sound/soc/omap/ams-delta.c @@ -513,15 +513,6 @@ static int ams_delta_cx20442_init(struct snd_soc_pcm_runtime *rtd) return 0; } -static int ams_delta_card_remove(struct snd_soc_card *card) -{ - snd_soc_jack_free_gpios(&ams_delta_hook_switch, - ARRAY_SIZE(ams_delta_hook_switch_gpios), - ams_delta_hook_switch_gpios); - - return 0; -} - /* DAI glue - connects codec <--> CPU */ static struct snd_soc_dai_link ams_delta_dai_link = { .name = "CX20442", @@ -540,7 +531,6 @@ static struct snd_soc_dai_link ams_delta_dai_link = { static struct snd_soc_card ams_delta_audio_card = { .name = "AMS_DELTA", .owner = THIS_MODULE, - .remove = ams_delta_card_remove, .dai_link = &ams_delta_dai_link, .num_links = 1, |