diff options
author | Takashi Iwai <tiwai@suse.de> | 2017-08-22 13:59:50 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-08-22 14:39:02 +0200 |
commit | 790b82898db2f42e3430ca84ac9bc3bd7ab474ce (patch) | |
tree | def3936d1404a2b7264ea14e2730204372668d69 /sound/soc/samsung/rx1950_uda1380.c | |
parent | ASoC: pxa: Remove superfluous snd_soc_jack_free_gpios() call (diff) | |
download | linux-790b82898db2f42e3430ca84ac9bc3bd7ab474ce.tar.xz linux-790b82898db2f42e3430ca84ac9bc3bd7ab474ce.zip |
ASoC: samsung: 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/samsung/rx1950_uda1380.c')
-rw-r--r-- | sound/soc/samsung/rx1950_uda1380.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/sound/soc/samsung/rx1950_uda1380.c b/sound/soc/samsung/rx1950_uda1380.c index fa096abe9e75..a064ca7d78c3 100644 --- a/sound/soc/samsung/rx1950_uda1380.c +++ b/sound/soc/samsung/rx1950_uda1380.c @@ -31,7 +31,6 @@ #include "s3c24xx-i2s.h" static int rx1950_uda1380_init(struct snd_soc_pcm_runtime *rtd); -static int rx1950_uda1380_card_remove(struct snd_soc_card *card); static int rx1950_startup(struct snd_pcm_substream *substream); static int rx1950_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params); @@ -118,7 +117,6 @@ static const struct snd_soc_dapm_route audio_map[] = { static struct snd_soc_card rx1950_asoc = { .name = "rx1950", .owner = THIS_MODULE, - .remove = rx1950_uda1380_card_remove, .dai_link = rx1950_uda1380_dai, .num_links = ARRAY_SIZE(rx1950_uda1380_dai), @@ -219,14 +217,6 @@ static int rx1950_uda1380_init(struct snd_soc_pcm_runtime *rtd) return 0; } -static int rx1950_uda1380_card_remove(struct snd_soc_card *card) -{ - snd_soc_jack_free_gpios(&hp_jack, ARRAY_SIZE(hp_jack_gpios), - hp_jack_gpios); - - return 0; -} - static int __init rx1950_init(void) { int ret; |