diff options
| author | Lars-Peter Clausen <lars@metafoo.de> | 2015-03-04 04:33:45 -0500 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2015-03-04 12:10:48 -0500 |
| commit | 77c71765ef78f87dd901fcb4c751908e835a3b2e (patch) | |
| tree | f952ed3cceec2ee1465781ea88ce7010be7d7453 /include/sound | |
| parent | 7ba8cbb2f0fd9ff232fa19159e2646bf64135126 (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')
| -rw-r--r-- | include/sound/soc.h | 20 |
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( | |||
| 1484 | return snd_soc_component_to_platform(snd_soc_kcontrol_component(kcontrol)); | 1484 | return snd_soc_component_to_platform(snd_soc_kcontrol_component(kcontrol)); |
| 1485 | } | 1485 | } |
| 1486 | 1486 | ||
| 1487 | /** | ||
| 1488 | * snd_soc_jack_new - Create a new jack | ||
| 1489 | * @codec: ASoC CODEC | ||
| 1490 | * @id: an identifying string for this jack | ||
| 1491 | * @type: a bitmask of enum snd_jack_type values that can be detected by | ||
| 1492 | * this jack | ||
| 1493 | * @jack: structure to use for the jack | ||
| 1494 | * | ||
| 1495 | * Creates a new jack object. | ||
| 1496 | * | ||
| 1497 | * Returns zero if successful, or a negative error code on failure. | ||
| 1498 | * On success jack will be initialised. | ||
| 1499 | */ | ||
| 1500 | static inline int snd_soc_jack_new(struct snd_soc_codec *codec, const char *id, | ||
| 1501 | int type, struct snd_soc_jack *jack) | ||
| 1502 | { | ||
| 1503 | return snd_soc_card_jack_new(codec->component.card, id, type, jack, | ||
| 1504 | NULL, 0); | ||
| 1505 | } | ||
| 1506 | |||
| 1507 | int snd_soc_util_init(void); | 1487 | int snd_soc_util_init(void); |
| 1508 | void snd_soc_util_exit(void); | 1488 | void snd_soc_util_exit(void); |
| 1509 | 1489 | ||
