ASoC: fsl: imx-es8328: Remove leftover gpio initialisation
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 25 Mar 2024 19:13:41 +0000 (21:13 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 26 Mar 2024 11:24:23 +0000 (11:24 +0000)
The gpio field is not used anymore, remove the leftover.
This also fixes the compilation error after the ...

Fixes: 9855f05e5536 ("ASoC: fsl: imx-es8328: Switch to using gpiod API")
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://msgid.link/r/20240325191341.3977321-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/imx-es8328.c

index d67b8a149bfff0455b813dd5662c323a9ffdd723..5b9648f3b087f488ae2fc18d2cb6e33ee290b07b 100644 (file)
@@ -28,7 +28,6 @@ struct imx_es8328_data {
 
 static struct snd_soc_jack_gpio headset_jack_gpios[] = {
        {
-               .gpio = -1,
                .name = "headset-gpio",
                .report = SND_JACK_HEADSET,
                .invert = 0,