Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit de461bd2 authored by Takashi Iwai's avatar Takashi Iwai Committed by Mark Brown
Browse files

ASoC: wm8974: Use SOC_ENUM_SINGLE_DECL()



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

Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
Acked-by: default avatarLiam Girdwood <liam.r.girdwood@linux.intel.com>
Acked-by: default avatarCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Acked-by: default avatarLars-Peter Clausen <lars@metafoo.de>
Signed-off-by: default avatarMark Brown <broonie@linaro.org>
parent 38dbfb59
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -84,8 +84,8 @@ static const struct soc_enum wm8974_enum[] = {


static const char *wm8974_auxmode_text[] = { "Buffer", "Mixer" };
static const char *wm8974_auxmode_text[] = { "Buffer", "Mixer" };


static const struct soc_enum wm8974_auxmode =
static SOC_ENUM_SINGLE_DECL(wm8974_auxmode,
	SOC_ENUM_SINGLE(WM8974_INPUT,  3, 2, wm8974_auxmode_text);
			    WM8974_INPUT,  3, wm8974_auxmode_text);


static const DECLARE_TLV_DB_SCALE(digital_tlv, -12750, 50, 1);
static const DECLARE_TLV_DB_SCALE(digital_tlv, -12750, 50, 1);
static const DECLARE_TLV_DB_SCALE(eq_tlv, -1200, 100, 0);
static const DECLARE_TLV_DB_SCALE(eq_tlv, -1200, 100, 0);