Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Mark Brown <broonie@kernel.org>
Cc: alsa-devel@alsa-project.org, Liam Girdwood <lgirdwood@gmail.com>
Subject: [PATCH 007/102] ASoC: mc13783: Remove superfluous const
Date: Tue, 18 Feb 2014 12:32:19 +0100	[thread overview]
Message-ID: <1392723148-12597-5-git-send-email-tiwai@suse.de> (raw)
In-Reply-To: <1392723148-12597-1-git-send-email-tiwai@suse.de>

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>
---
 sound/soc/codecs/mc13783.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/sound/soc/codecs/mc13783.c b/sound/soc/codecs/mc13783.c
index 582c2bbd42cb..147c2e53797b 100644
--- a/sound/soc/codecs/mc13783.c
+++ b/sound/soc/codecs/mc13783.c
@@ -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);
 
-- 
1.8.5.2

  parent reply	other threads:[~2014-02-18 11:32 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-18 11:32 [PATCH 000/102 - chunk#2] Add const to SOC_ENUM_*_DECL() macros Takashi Iwai
2014-02-18 11:32 ` [PATCH 004/102] ASoC: " Takashi Iwai
2014-02-20  1:55   ` Mark Brown
2014-02-18 11:32 ` [PATCH 005/102] ASoC: adau1373: Remove superfluous const Takashi Iwai
2014-02-20  1:55   ` Mark Brown
2014-02-18 11:32 ` [PATCH 006/102] ASoC: lm49453: " Takashi Iwai
2014-02-20  1:56   ` Mark Brown
2014-02-18 11:32 ` Takashi Iwai [this message]
2014-02-20  1:56   ` [PATCH 007/102] ASoC: mc13783: " Mark Brown
2014-02-18 11:32 ` [PATCH 008/102] ASoC: rt5631: " Takashi Iwai
2014-02-20  1:56   ` Mark Brown
2014-02-18 11:32 ` [PATCH 009/102] ASoC: rt5640: " Takashi Iwai
2014-02-18 12:56   ` Liam Girdwood
2014-02-18 13:20     ` [PATCH 009/102] ASoC: rt5640: Removesuperfluousconst Bard Liao
2014-02-20  1:56   ` [PATCH 009/102] ASoC: rt5640: Remove superfluous const Mark Brown
2014-02-18 11:32 ` [PATCH 010/102] ASoC: ssm2518: " Takashi Iwai
2014-02-20  1:57   ` Mark Brown
2014-02-18 11:32 ` [PATCH 011/102] ASoC: sta529: " Takashi Iwai
2014-02-20  1:57   ` Mark Brown
2014-02-18 11:32 ` [PATCH 012/102] ASoC: wm8804: " Takashi Iwai
2014-02-20  1:57   ` Mark Brown
2014-02-18 11:32 ` [PATCH 013/102] ASoC: wm8978: " Takashi Iwai
2014-02-20  1:57   ` Mark Brown
2014-02-18 11:32 ` [PATCH 014/102] ASoC: wm8983: " Takashi Iwai
2014-02-20  1:57   ` Mark Brown
2014-02-18 11:32 ` [PATCH 015/102] ASoC: wm8985: " Takashi Iwai
2014-02-20  1:58   ` Mark Brown
2014-02-18 11:32 ` [PATCH 016/102] ASoC: wm8995: " Takashi Iwai
2014-02-20  1:58   ` Mark Brown
2014-02-18 16:49 ` [PATCH 000/102 - chunk#2] Add const to SOC_ENUM_*_DECL() macros Brian Austin
2014-02-20  1:53 ` Mark Brown
2014-02-20  7:00   ` Takashi Iwai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1392723148-12597-5-git-send-email-tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@kernel.org \
    --cc=lgirdwood@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox