]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ASoC: wm8983: Remove useless snd_kcontrol
authorDimitris Papastamos <dp@opensource.wolfsonmicro.com>
Mon, 16 Jan 2012 10:44:13 +0000 (10:44 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 20 Jan 2012 13:58:29 +0000 (13:58 +0000)
This must be a leftover from a previous driver.

Signed-off-by: Dimitris Papastamos <dp@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/wm8983.c

index cebde568d1919a0e961601b1e308be8ebb1accc8..367388fdc486484202e4bb550420bdcda31a8fdf 100644 (file)
@@ -249,9 +249,6 @@ static const char *eq5_cutoff_text[] = {
 static const SOC_ENUM_SINGLE_DECL(eq5_cutoff, WM8983_EQ5_HIGH_SHELF, 5,
                                  eq5_cutoff_text);
 
-static const char *speaker_mode_text[] = { "Class A/B", "Class D" };
-static const SOC_ENUM_SINGLE_DECL(speaker_mode, 0x17, 8, speaker_mode_text);
-
 static const char *depth_3d_text[] = {
        "Off",
        "6.67%",
@@ -369,8 +366,6 @@ static const struct snd_kcontrol_new wm8983_snd_controls[] = {
        SOC_SINGLE_TLV("EQ5 Volume", WM8983_EQ5_HIGH_SHELF, 0, 24, 1, eq_tlv),
 
        SOC_ENUM("3D Depth", depth_3d),
-
-       SOC_ENUM("Speaker Mode", speaker_mode)
 };
 
 static const struct snd_kcontrol_new left_out_mixer[] = {