diff options
author | Takashi Iwai <tiwai@suse.de> | 2017-08-22 13:59:49 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-08-22 13:38:57 +0100 |
commit | 7676b40606666547544998e5bc9e7f492fa2e13f (patch) | |
tree | acf9eb9fd05aa564dc688479ba52ad0463a0142b /sound/soc/pxa | |
parent | 90c265c65a3216ea236ed8e81d0a8d6411c26e88 (diff) | |
download | linux-7676b40606666547544998e5bc9e7f492fa2e13f.tar.bz2 |
ASoC: pxa: 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/pxa')
-rw-r--r-- | sound/soc/pxa/hx4700.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/sound/soc/pxa/hx4700.c b/sound/soc/pxa/hx4700.c index a9ac881c2e14..6cdef5d4954e 100644 --- a/sound/soc/pxa/hx4700.c +++ b/sound/soc/pxa/hx4700.c @@ -138,13 +138,6 @@ static int hx4700_ak4641_init(struct snd_soc_pcm_runtime *rtd) return err; } -static int hx4700_card_remove(struct snd_soc_card *card) -{ - snd_soc_jack_free_gpios(&hs_jack, 1, &hs_jack_gpio); - - return 0; -} - /* hx4700 digital audio interface glue - connects codec <--> CPU */ static struct snd_soc_dai_link hx4700_dai = { .name = "ak4641", @@ -163,7 +156,6 @@ static struct snd_soc_dai_link hx4700_dai = { static struct snd_soc_card snd_soc_card_hx4700 = { .name = "iPAQ hx4700", .owner = THIS_MODULE, - .remove = hx4700_card_remove, .dai_link = &hx4700_dai, .num_links = 1, .dapm_widgets = hx4700_dapm_widgets, |