All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ASoC: remove unneeded semicolons in wcd934x.c
@ 2021-06-08  3:06 Wan Jiabing
  2021-06-08 16:06 ` Mark Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Wan Jiabing @ 2021-06-08  3:06 UTC (permalink / raw)
  To: Srinivas Kandagatla, Banajit Goswami, Liam Girdwood, Mark Brown,
	Jaroslav Kysela, Takashi Iwai, alsa-devel, linux-kernel
  Cc: Wan Jiabing

Fix following coccicheck warning:
./sound/soc/codecs/wcd934x.c:5136:2-3: Unneeded semicolon
./sound/soc/codecs/wcd934x.c:2466:2-3: Unneeded semicolon
./sound/soc/codecs/wcd934x.c:2527:2-3: Unneeded semicolon

Signed-off-by: Wan Jiabing <wanjiabing@vivo.com>
---
 sound/soc/codecs/wcd934x.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/sound/soc/codecs/wcd934x.c b/sound/soc/codecs/wcd934x.c
index 16fd1ab62609..c496b359f2f4 100644
--- a/sound/soc/codecs/wcd934x.c
+++ b/sound/soc/codecs/wcd934x.c
@@ -2463,7 +2463,7 @@ static int wcd934x_micbias_control(struct snd_soc_component *component,
 		dev_err(component->dev, "%s: Invalid micbias number: %d\n",
 			__func__, micb_num);
 		return -EINVAL;
-	};
+	}
 	mutex_lock(&wcd934x->micb_lock);
 
 	switch (req) {
@@ -2524,7 +2524,7 @@ static int wcd934x_micbias_control(struct snd_soc_component *component,
 			wcd_mbhc_event_notify(wcd934x->mbhc,
 					      WCD_EVENT_POST_DAPM_MICBIAS_2_OFF);
 		break;
-	};
+	}
 
 	mutex_unlock(&wcd934x->micb_lock);
 
@@ -5133,7 +5133,7 @@ static int wcd934x_codec_enable_micbias(struct snd_soc_dapm_widget *w,
 	case SND_SOC_DAPM_POST_PMD:
 		wcd934x_micbias_control(component, micb_num, MICB_DISABLE, true);
 		break;
-	};
+	}
 
 	return 0;
 }
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] ASoC: remove unneeded semicolons in wcd934x.c
  2021-06-08  3:06 [PATCH] ASoC: remove unneeded semicolons in wcd934x.c Wan Jiabing
@ 2021-06-08 16:06 ` Mark Brown
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2021-06-08 16:06 UTC (permalink / raw)
  To: Jaroslav Kysela, Takashi Iwai, Srinivas Kandagatla, linux-kernel,
	Banajit Goswami, Liam Girdwood, Wan Jiabing, alsa-devel
  Cc: Mark Brown

On Tue, 8 Jun 2021 11:06:55 +0800, Wan Jiabing wrote:
> Fix following coccicheck warning:
> ./sound/soc/codecs/wcd934x.c:5136:2-3: Unneeded semicolon
> ./sound/soc/codecs/wcd934x.c:2466:2-3: Unneeded semicolon
> ./sound/soc/codecs/wcd934x.c:2527:2-3: Unneeded semicolon

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next

Thanks!

[1/1] ASoC: remove unneeded semicolons in wcd934x.c
      commit: 3ea8a7459861def90bbb184396651d47a4cf4f20

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-06-08 16:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-08  3:06 [PATCH] ASoC: remove unneeded semicolons in wcd934x.c Wan Jiabing
2021-06-08 16:06 ` Mark Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.