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>
This commit is contained in:
parent
e2c330b9b5
commit
b0a9f8e06c
1 changed files with 0 additions and 20 deletions
|
@ -240,26 +240,6 @@ int snd_soc_update_bits(struct snd_soc_codec *codec, unsigned int reg,
|
||||||
}
|
}
|
||||||
EXPORT_SYMBOL_GPL(snd_soc_update_bits);
|
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
|
* snd_soc_test_bits - test register for change
|
||||||
* @codec: audio codec
|
* @codec: audio codec
|
||||||
|
|
Loading…
Add table
Reference in a new issue