]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ASoC: lm49453: Remove superfluous const
authorTakashi Iwai <tiwai@suse.de>
Tue, 18 Feb 2014 08:42:16 +0000 (09:42 +0100)
committerMark Brown <broonie@linaro.org>
Thu, 20 Feb 2014 01:43:13 +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/lm49453.c

index e19490cfb3a8bde2036e61d877b3a8c407cc510c..6b7fe5e548810517ea78b26d36d2532c2177e53f 100644 (file)
@@ -195,18 +195,18 @@ struct lm49453_priv {
 
 static const char *lm49453_mic2mode_text[] = {"Single Ended", "Differential"};
 
-static const SOC_ENUM_SINGLE_DECL(lm49453_mic2mode_enum, LM49453_P0_MICR_REG, 5,
-                                 lm49453_mic2mode_text);
+static SOC_ENUM_SINGLE_DECL(lm49453_mic2mode_enum, LM49453_P0_MICR_REG, 5,
+                           lm49453_mic2mode_text);
 
 static const char *lm49453_dmic_cfg_text[] = {"DMICDAT1", "DMICDAT2"};
 
-static const SOC_ENUM_SINGLE_DECL(lm49453_dmic12_cfg_enum,
-                                 LM49453_P0_DIGITAL_MIC1_CONFIG_REG,
-                                 7, lm49453_dmic_cfg_text);
+static SOC_ENUM_SINGLE_DECL(lm49453_dmic12_cfg_enum,
+                           LM49453_P0_DIGITAL_MIC1_CONFIG_REG, 7,
+                           lm49453_dmic_cfg_text);
 
-static const SOC_ENUM_SINGLE_DECL(lm49453_dmic34_cfg_enum,
-                                 LM49453_P0_DIGITAL_MIC2_CONFIG_REG,
-                                 7, lm49453_dmic_cfg_text);
+static SOC_ENUM_SINGLE_DECL(lm49453_dmic34_cfg_enum,
+                           LM49453_P0_DIGITAL_MIC2_CONFIG_REG, 7,
+                           lm49453_dmic_cfg_text);
 
 /* MUX Controls */
 static const char *lm49453_adcl_mux_text[] = { "MIC1", "Aux_L" };