summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2014-04-22 15:23:15 +0400
committerMark Brown <broonie@linaro.org>2014-04-22 16:24:24 +0400
commitb0a9f8e06cb214040da5ccfcc3c2a01174710e34 (patch)
treedd273b458c3634ee650dab964a4b8c0ca6607eba
parente2c330b9b5665006c99327c05bc22f7a8e471043 (diff)
downloadlinux-b0a9f8e06cb214040da5ccfcc3c2a01174710e34.tar.xz
ASoC: Remove snd_soc_update_bits_locked()
There are no users of snd_soc_update_bits_locked() left and it is identical to snd_soc_update_bits(). So it can be removed. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Mark Brown <broonie@linaro.org>
-rw-r--r--sound/soc/soc-io.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/sound/soc/soc-io.c b/sound/soc/soc-io.c
index ac64fd7252b2..2ead9edd0d63 100644
--- a/sound/soc/soc-io.c
+++ b/sound/soc/soc-io.c
@@ -241,26 +241,6 @@ int snd_soc_update_bits(struct snd_soc_codec *codec, unsigned int reg,
EXPORT_SYMBOL_GPL(snd_soc_update_bits);
/**
- * snd_soc_update_bits_locked - update codec register bits
- * @codec: audio codec
- * @reg: codec register
- * @mask: register mask
- * @value: new value
- *
- * Writes new register value, and takes the codec mutex.
- *
- * Returns 1 for change else 0.
- */
-int snd_soc_update_bits_locked(struct snd_soc_codec *codec,
- unsigned int reg, unsigned int mask,
- unsigned int value)
-{
- return snd_soc_component_update_bits(&codec->component, reg, mask,
- value);
-}
-EXPORT_SYMBOL_GPL(snd_soc_update_bits_locked);
-
-/**
* snd_soc_test_bits - test register for change
* @codec: audio codec
* @reg: codec register