From: Takashi Iwai Date: Tue, 22 Aug 2017 11:59:45 +0000 (+0200) Subject: ASoC: fsl: Remove superfluous snd_soc_jack_free_gpios() call X-Git-Tag: v4.14-rc4~21^2~23^2~10^4~7 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8244fd7e489a586e63a36302105a2a1ece28a3c6;p=platform%2Fkernel%2Flinux-exynos.git ASoC: fsl: 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 Signed-off-by: Mark Brown --- diff --git a/sound/soc/fsl/imx-es8328.c b/sound/soc/fsl/imx-es8328.c index 20e7400..9953438 100644 --- a/sound/soc/fsl/imx-es8328.c +++ b/sound/soc/fsl/imx-es8328.c @@ -203,9 +203,6 @@ static int imx_es8328_remove(struct platform_device *pdev) { struct imx_es8328_data *data = platform_get_drvdata(pdev); - snd_soc_jack_free_gpios(&headset_jack, ARRAY_SIZE(headset_jack_gpios), - headset_jack_gpios); - snd_soc_unregister_card(&data->card); return 0;