[alsa-devel] [PATCH 028/102] ASoC: ad193x: Use SOC_ENUM_SINGLE_DECL()

Takashi Iwai tiwai at suse.de
Tue Feb 18 14:04:59 CET 2014


Just replace with the helper macro.  No functional change at all.

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

diff --git a/sound/soc/codecs/ad193x.c b/sound/soc/codecs/ad193x.c
index 5a42dca535b7..cbddf4c70531 100644
--- a/sound/soc/codecs/ad193x.c
+++ b/sound/soc/codecs/ad193x.c
@@ -32,8 +32,8 @@ struct ad193x_priv {
  */
 static const char * const ad193x_deemp[] = {"None", "48kHz", "44.1kHz", "32kHz"};
 
-static const struct soc_enum ad193x_deemp_enum =
-	SOC_ENUM_SINGLE(AD193X_DAC_CTRL2, 1, 4, ad193x_deemp);
+static SOC_ENUM_SINGLE_DECL(ad193x_deemp_enum, AD193X_DAC_CTRL2, 1,
+			    ad193x_deemp);
 
 static const DECLARE_TLV_DB_MINMAX(adau193x_tlv, -9563, 0);
 
-- 
1.8.5.2



More information about the Alsa-devel mailing list