Commit cbf62422 authored by Takashi Iwai's avatar Takashi Iwai Committed by Mark Brown

ASoC: ak4641: 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 avatarLars-Peter Clausen <lars@metafoo.de>
Signed-off-by: default avatarMark Brown <broonie@linaro.org>
parent 38dbfb59
...@@ -113,14 +113,14 @@ static const DECLARE_TLV_DB_SCALE(alc_tlv, -800, 50, 0); ...@@ -113,14 +113,14 @@ static const DECLARE_TLV_DB_SCALE(alc_tlv, -800, 50, 0);
static const DECLARE_TLV_DB_SCALE(aux_in_tlv, -2100, 300, 0); static const DECLARE_TLV_DB_SCALE(aux_in_tlv, -2100, 300, 0);
static const struct soc_enum ak4641_mono_out_enum = static SOC_ENUM_SINGLE_DECL(ak4641_mono_out_enum,
SOC_ENUM_SINGLE(AK4641_SIG1, 6, 2, ak4641_mono_out); AK4641_SIG1, 6, ak4641_mono_out);
static const struct soc_enum ak4641_hp_out_enum = static SOC_ENUM_SINGLE_DECL(ak4641_hp_out_enum,
SOC_ENUM_SINGLE(AK4641_MODE2, 2, 2, ak4641_hp_out); AK4641_MODE2, 2, ak4641_hp_out);
static const struct soc_enum ak4641_mic_select_enum = static SOC_ENUM_SINGLE_DECL(ak4641_mic_select_enum,
SOC_ENUM_SINGLE(AK4641_MIC, 1, 2, ak4641_mic_select); AK4641_MIC, 1, ak4641_mic_select);
static const struct soc_enum ak4641_mic_or_dac_enum = static SOC_ENUM_SINGLE_DECL(ak4641_mic_or_dac_enum,
SOC_ENUM_SINGLE(AK4641_BTIF, 4, 2, ak4641_mic_or_dac); AK4641_BTIF, 4, ak4641_mic_or_dac);
static const struct snd_kcontrol_new ak4641_snd_controls[] = { static const struct snd_kcontrol_new ak4641_snd_controls[] = {
SOC_ENUM("Mono 1 Output", ak4641_mono_out_enum), SOC_ENUM("Mono 1 Output", ak4641_mono_out_enum),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment