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>,
	patches@opensource.wolfsonmicro.com,
	"Philippe Rétornaz" <philippe.retornaz@epfl.ch>,
	"Bard Liao" <bardliao@realtek.com>,
	"Charles Keepax" <ckeepax@opensource.wolfsonmicro.com>,
	"Jerry Wong" <jerry.wong@maximintegrated.com>
Subject: [PATCH 12/17] ASoC: wm8988: Replace usage deprecated MUX/ENUM macros
Date: Mon, 14 Apr 2014 21:31:07 +0200	[thread overview]
Message-ID: <1397503872-20864-13-git-send-email-lars@metafoo.de> (raw)
In-Reply-To: <1397503872-20864-1-git-send-email-lars@metafoo.de>

SND_SOC_DAPM_VALUE_MUX and SOC_DAPM_VALUE_ENUM are deprecated and merely an
alias for SND_SOC_DAPM_MUX and SOC_DAPM_ENUM. Replace the deprecated macros so
we can eventually remove their definition.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
---
 sound/soc/codecs/wm8988.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/sound/soc/codecs/wm8988.c b/sound/soc/codecs/wm8988.c
index 3a1ae4f5..d3fea46 100644
--- a/sound/soc/codecs/wm8988.c
+++ b/sound/soc/codecs/wm8988.c
@@ -268,7 +268,7 @@ static const struct soc_enum wm8988_lline_enum =
 			      wm8988_line_texts,
 			      wm8988_line_values);
 static const struct snd_kcontrol_new wm8988_left_line_controls =
-	SOC_DAPM_VALUE_ENUM("Route", wm8988_lline_enum);
+	SOC_DAPM_ENUM("Route", wm8988_lline_enum);
 
 static const struct soc_enum wm8988_rline_enum =
 	SOC_VALUE_ENUM_SINGLE(WM8988_ROUTM1, 0, 7,
@@ -276,7 +276,7 @@ static const struct soc_enum wm8988_rline_enum =
 			      wm8988_line_texts,
 			      wm8988_line_values);
 static const struct snd_kcontrol_new wm8988_right_line_controls =
-	SOC_DAPM_VALUE_ENUM("Route", wm8988_lline_enum);
+	SOC_DAPM_ENUM("Route", wm8988_lline_enum);
 
 /* Left Mixer */
 static const struct snd_kcontrol_new wm8988_left_mixer_controls[] = {
@@ -304,7 +304,7 @@ static const struct soc_enum wm8988_lpga_enum =
 			      wm8988_pga_sel,
 			      wm8988_pga_val);
 static const struct snd_kcontrol_new wm8988_left_pga_controls =
-	SOC_DAPM_VALUE_ENUM("Route", wm8988_lpga_enum);
+	SOC_DAPM_ENUM("Route", wm8988_lpga_enum);
 
 /* Right PGA Mux */
 static const struct soc_enum wm8988_rpga_enum =
@@ -313,7 +313,7 @@ static const struct soc_enum wm8988_rpga_enum =
 			      wm8988_pga_sel,
 			      wm8988_pga_val);
 static const struct snd_kcontrol_new wm8988_right_pga_controls =
-	SOC_DAPM_VALUE_ENUM("Route", wm8988_rpga_enum);
+	SOC_DAPM_ENUM("Route", wm8988_rpga_enum);
 
 /* Differential Mux */
 static const char *wm8988_diff_sel[] = {"Line 1", "Line 2"};
-- 
1.8.0

  parent reply	other threads:[~2014-04-14 19:31 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-14 19:30 [PATCH 00/17] Removed deprecated ENUM/MUX macros Lars-Peter Clausen
2014-04-14 19:30 ` [PATCH 01/17] ASoC: adau1373: Replace usage deprecated MUX/ENUM macros Lars-Peter Clausen
2014-04-14 19:30 ` [PATCH 02/17] ASoC: adav80x: " Lars-Peter Clausen
2014-04-14 19:30 ` [PATCH 03/17] ASoC: arizona: " Lars-Peter Clausen
2014-04-14 19:30 ` [PATCH 04/17] ASoC: max98090: " Lars-Peter Clausen
2014-04-14 19:31 ` [PATCH 05/17] ASoC: mc13783: " Lars-Peter Clausen
2014-04-14 19:31 ` [PATCH 06/17] ASoC: pcm512x: Replace usage deprecated SOC_VALUE_ENUM macro Lars-Peter Clausen
2014-04-14 19:31 ` [PATCH 07/17] ASoC: rt5640: Replace usage deprecated MUX/ENUM macros Lars-Peter Clausen
2014-04-14 19:31 ` [PATCH 08/17] ASoC: wm2200: " Lars-Peter Clausen
2014-04-14 19:31 ` [PATCH 09/17] ASoC: wm5100: " Lars-Peter Clausen
2014-04-14 19:31 ` [PATCH 10/17] ASoC: wm5102: " Lars-Peter Clausen
2014-04-14 19:31 ` [PATCH 11/17] ASoC: wm5110: " Lars-Peter Clausen
2014-04-14 19:31 ` Lars-Peter Clausen [this message]
2014-04-14 19:31 ` [PATCH 13/17] ASoC: wm5102: Replace usage deprecated SOC_VALUE_ENUM macro Lars-Peter Clausen
2014-04-14 19:31 ` [PATCH 14/17] ASoC: wm8994: Replace usage deprecated MUX/ENUM macros Lars-Peter Clausen
2014-04-14 19:31 ` [PATCH 15/17] ASoC: wm8995: " Lars-Peter Clausen
2014-04-14 19:31 ` [PATCH 16/17] ASoC: wm8997: " Lars-Peter Clausen
2014-04-14 19:31 ` [PATCH 17/17] ASoC: Remove deprecated ENUM/MUX macros Lars-Peter Clausen
2014-04-14 19:40 ` [PATCH 00/17] Removed " Mark Brown

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=1397503872-20864-13-git-send-email-lars@metafoo.de \
    --to=lars@metafoo.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=bardliao@realtek.com \
    --cc=broonie@kernel.org \
    --cc=ckeepax@opensource.wolfsonmicro.com \
    --cc=jerry.wong@maximintegrated.com \
    --cc=lgirdwood@gmail.com \
    --cc=patches@opensource.wolfsonmicro.com \
    --cc=philippe.retornaz@epfl.ch \
    /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