]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ASoC: mc13783: Remove superfluous const
authorTakashi Iwai <tiwai@suse.de>
Tue, 18 Feb 2014 08:42:50 +0000 (09:42 +0100)
committerMark Brown <broonie@linaro.org>
Thu, 20 Feb 2014 01:43:16 +0000 (10:43 +0900)
As SOC_ENUM_SINGLE_DECL() itself contains const modifier now, we can
reduce const from its users.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Acked-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Acked-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/codecs/mc13783.c

index 582c2bbd42cb9eae83346b5fbcd4e497d6101493..147c2e53797b76e3dca8e71e30e514161b21e0a8 100644 (file)
@@ -430,8 +430,8 @@ static const struct snd_kcontrol_new samp_ctl =
 static const char * const speaker_amp_source_text[] = {
        "CODEC", "Right"
 };
-static const SOC_ENUM_SINGLE_DECL(speaker_amp_source, MC13783_AUDIO_RX0, 4,
-                                 speaker_amp_source_text);
+static SOC_ENUM_SINGLE_DECL(speaker_amp_source, MC13783_AUDIO_RX0, 4,
+                           speaker_amp_source_text);
 static const struct snd_kcontrol_new speaker_amp_source_mux =
        SOC_DAPM_ENUM("Speaker Amp Source MUX", speaker_amp_source);
 
@@ -439,8 +439,8 @@ static const char * const headset_amp_source_text[] = {
        "CODEC", "Mixer"
 };
 
-static const SOC_ENUM_SINGLE_DECL(headset_amp_source, MC13783_AUDIO_RX0, 11,
-                                 headset_amp_source_text);
+static SOC_ENUM_SINGLE_DECL(headset_amp_source, MC13783_AUDIO_RX0, 11,
+                           headset_amp_source_text);
 static const struct snd_kcontrol_new headset_amp_source_mux =
        SOC_DAPM_ENUM("Headset Amp Source MUX", headset_amp_source);