diff mbox

[029/102] ASoC: adau1373: Use SOC_ENUM_SINGLE_DECL()

Message ID 1392723517-12772-2-git-send-email-tiwai@suse.de (mailing list archive)
State Accepted
Commit 1c38450b9fe52a86da7f4fd2a2c97935b71f2b62
Delegated to: Mark Brown
Headers show

Commit Message

Takashi Iwai Feb. 18, 2014, 11:37 a.m. UTC
Just replace with the helper macro.  No functional change at all.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
---
 sound/soc/codecs/adau1373.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Takashi Iwai Feb. 18, 2014, 1:03 p.m. UTC | #1
[It seems that the cover page and patch 028 didn't go out properly from
 my machine, so I resend this manually.  Disregard if you already
 received.]

Hi,

this is the fourth chunk in a series.  This contains only cleanups,
and no fixes / functional changes.


Takashi
Mark Brown Feb. 20, 2014, 2:12 a.m. UTC | #2
On Tue, Feb 18, 2014 at 12:37:45PM +0100, Takashi Iwai wrote:
> Just replace with the helper macro.  No functional change at all.

Applied, thanks.
diff mbox

Patch

diff --git a/sound/soc/codecs/adau1373.c b/sound/soc/codecs/adau1373.c
index 46b1595d7c50..5765c224cd9a 100644
--- a/sound/soc/codecs/adau1373.c
+++ b/sound/soc/codecs/adau1373.c
@@ -576,8 +576,8 @@  static const char *adau1373_decimator_text[] = {
 	"DMIC1",
 };
 
-static const struct soc_enum adau1373_decimator_enum =
-	SOC_ENUM_SINGLE(0, 0, 2, adau1373_decimator_text);
+static SOC_ENUM_SINGLE_DECL(adau1373_decimator_enum,
+			    0, 0, adau1373_decimator_text);
 
 static const struct snd_kcontrol_new adau1373_decimator_mux =
 	SOC_DAPM_ENUM_VIRT("Decimator Mux", adau1373_decimator_enum);