projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
655e365
)
ASoC: sta529: Remove superfluous const
author
Takashi Iwai
<tiwai@suse.de>
Tue, 18 Feb 2014 08:43:49 +0000
(09:43 +0100)
committer
Mark Brown
<broonie@linaro.org>
Thu, 20 Feb 2014 01:43:31 +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/sta529.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/codecs/sta529.c
b/sound/soc/codecs/sta529.c
index 40c07be9b5814f170f73fa1b3670d3813101bb67..f15b0e37274cb4574864202d3b531e920b0b81dc 100644
(file)
--- a/
sound/soc/codecs/sta529.c
+++ b/
sound/soc/codecs/sta529.c
@@
-141,7
+141,7
@@
static const char *pwm_mode_text[] = { "Binary", "Headphone", "Ternary",
static const DECLARE_TLV_DB_SCALE(out_gain_tlv, -9150, 50, 0);
static const DECLARE_TLV_DB_SCALE(master_vol_tlv, -12750, 50, 0);
-static
const
SOC_ENUM_SINGLE_DECL(pwm_src, STA529_FFXCFG1, 4, pwm_mode_text);
+static SOC_ENUM_SINGLE_DECL(pwm_src, STA529_FFXCFG1, 4, pwm_mode_text);
static const struct snd_kcontrol_new sta529_snd_controls[] = {
SOC_DOUBLE_R_TLV("Digital Playback Volume", STA529_LVOL, STA529_RVOL, 0,