Merge tag 'selinux-pr-20190917' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-2.6-block.git] / sound / soc / soc-jack.c
index c7b990abdbaa62a5182fb475c3e13884ad9f5341..a71d2340eb050606b1d57866956f765e0bcdd5c2 100644 (file)
@@ -23,24 +23,6 @@ struct jack_gpio_tbl {
        struct snd_soc_jack_gpio *gpios;
 };
 
-/**
- * snd_soc_component_set_jack - configure component jack.
- * @component: COMPONENTs
- * @jack: structure to use for the jack
- * @data: can be used if codec driver need extra data for configuring jack
- *
- * Configures and enables jack detection function.
- */
-int snd_soc_component_set_jack(struct snd_soc_component *component,
-                              struct snd_soc_jack *jack, void *data)
-{
-       if (component->driver->set_jack)
-               return component->driver->set_jack(component, jack, data);
-
-       return -ENOTSUPP;
-}
-EXPORT_SYMBOL_GPL(snd_soc_component_set_jack);
-
 /**
  * snd_soc_card_jack_new - Create a new jack
  * @card:  ASoC card