aboutsummaryrefslogtreecommitdiff
path: root/include/sound/soc.h
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2015-03-04 10:33:45 +0100
committerMark Brown <broonie@kernel.org>2015-03-04 17:10:48 +0000
commit77c71765ef78f87dd901fcb4c751908e835a3b2e (patch)
treef952ed3cceec2ee1465781ea88ce7010be7d7453 /include/sound/soc.h
parent7ba8cbb2f0fd9ff232fa19159e2646bf64135126 (diff)
ASoC: Remove snd_soc_jack_new()
There are no users of snd_soc_jack_new() left and new users should use snd_soc_card_jack_new() instead. So remove the function. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound/soc.h')
-rw-r--r--include/sound/soc.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/include/sound/soc.h b/include/sound/soc.h
index 99d9ce272209..40b3ee96f317 100644
--- a/include/sound/soc.h
+++ b/include/sound/soc.h
@@ -1484,26 +1484,6 @@ static inline struct snd_soc_platform *snd_soc_kcontrol_platform(
return snd_soc_component_to_platform(snd_soc_kcontrol_component(kcontrol));
}
-/**
- * snd_soc_jack_new - Create a new jack
- * @codec: ASoC CODEC
- * @id: an identifying string for this jack
- * @type: a bitmask of enum snd_jack_type values that can be detected by
- * this jack
- * @jack: structure to use for the jack
- *
- * Creates a new jack object.
- *
- * Returns zero if successful, or a negative error code on failure.
- * On success jack will be initialised.
- */
-static inline int snd_soc_jack_new(struct snd_soc_codec *codec, const char *id,
- int type, struct snd_soc_jack *jack)
-{
- return snd_soc_card_jack_new(codec->component.card, id, type, jack,
- NULL, 0);
-}
-
int snd_soc_util_init(void);
void snd_soc_util_exit(void);