summaryrefslogtreecommitdiff
path: root/include/sound
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2024-03-26 20:09:48 +0300
committerMark Brown <broonie@kernel.org>2024-03-26 20:13:45 +0300
commit7b95ee0db7e0a7f99077f1b926323c7bf0d2e8f8 (patch)
tree2bfd3223471356d62d3adc5c5dd72bcf0ee49740 /include/sound
parent4ed0915f5bc4bcc81bca783a5b984f3d81e9764e (diff)
downloadlinux-7b95ee0db7e0a7f99077f1b926323c7bf0d2e8f8.tar.xz
ASoC: soc-jack: Get rid of legacy GPIO support
No more users. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://msgid.link/r/20240326171134.1414462-1-andriy.shevchenko@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound')
-rw-r--r--include/sound/soc-jack.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/sound/soc-jack.h b/include/sound/soc-jack.h
index a0abb1ee5110..3a81d4b8ca8a 100644
--- a/include/sound/soc-jack.h
+++ b/include/sound/soc-jack.h
@@ -44,7 +44,6 @@ struct snd_soc_jack_zone {
/**
* struct snd_soc_jack_gpio - Describes a gpio pin for jack detection
*
- * @gpio: legacy gpio number
* @idx: gpio descriptor index within the function of the GPIO
* consumer device
* @gpiod_dev: GPIO consumer device
@@ -59,7 +58,6 @@ struct snd_soc_jack_zone {
* ADC).
*/
struct snd_soc_jack_gpio {
- unsigned int gpio;
unsigned int idx;
struct device *gpiod_dev;
const char *name;