Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Lars-Peter Clausen <lars@metafoo.de>
To: Mark Brown <broonie@kernel.org>, Liam Girdwood <lgirdwood@gmail.com>
Cc: alsa-devel@alsa-project.org, Lars-Peter Clausen <lars@metafoo.de>
Subject: [PATCH v3 3/5] ASoC: Remove snd_soc_update_bits_locked()
Date: Tue, 22 Apr 2014 12:02:22 +0200	[thread overview]
Message-ID: <1398160944-6661-4-git-send-email-lars@metafoo.de> (raw)
In-Reply-To: <1398160944-6661-1-git-send-email-lars@metafoo.de>

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>
---
 sound/soc/soc-io.c | 20 --------------------
 1 file changed, 20 deletions(-)

diff --git a/sound/soc/soc-io.c b/sound/soc/soc-io.c
index ac64fd7..2ead9ed 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
-- 
1.8.0

  parent reply	other threads:[~2014-04-22 10:02 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-22 10:02 [PATCH v3 0/5] ASoC: Move IO and kcontrols to the component level Lars-Peter Clausen
2014-04-22 10:02 ` [PATCH v3 1/5] ASoC: Move IO abstraction " Lars-Peter Clausen
2014-04-22 10:55   ` Lars-Peter Clausen
2014-04-22 10:02 ` [PATCH v3 2/5] ASoC: Move standard kcontrol helpers " Lars-Peter Clausen
2014-04-22 10:02 ` Lars-Peter Clausen [this message]
2014-04-22 10:02 ` [PATCH v3 4/5] ASoC: dapm: Rename soc_widget_update_bits_locked() to soc_widget_update_bits() Lars-Peter Clausen
2014-04-22 10:02 ` [PATCH v3 5/5] ASoC: Remove ASoC level IO tracing Lars-Peter Clausen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1398160944-6661-4-git-send-email-lars@metafoo.de \
    --to=lars@metafoo.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@kernel.org \
    --cc=lgirdwood@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox