[PATCH] ASoC: cs35l35: fix semicolon.cocci warnings
From: kbuild test robot
Date: Sat Mar 11 2017 - 20:11:32 EST
sound/soc/codecs/cs35l35.c:706:2-3: Unneeded semicolon
sound/soc/codecs/cs35l35.c:543:4-5: Unneeded semicolon
sound/soc/codecs/cs35l35.c:553:4-5: Unneeded semicolon
Remove unneeded semicolon.
Generated by: scripts/coccinelle/misc/semicolon.cocci
CC: Brian Austin <brian.austin@xxxxxxxxxx>
Signed-off-by: Fengguang Wu <fengguang.wu@xxxxxxxxx>
Signed-off-by: Mark Brown <broonie@xxxxxxxxxx>
---
sound/soc/codecs/cs35l35.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/sound/soc/codecs/cs35l35.c b/sound/soc/codecs/cs35l35.c
index a5da1d511a8a..6a266516f543 100644
--- a/sound/soc/codecs/cs35l35.c
+++ b/sound/soc/codecs/cs35l35.c
@@ -540,7 +540,7 @@ static int cs35l35_hw_params(struct snd_pcm_substream *substream,
default:
dev_err(codec->dev, "ratio not supported\n");
return -EINVAL;
- };
+ }
} else {
/* Only certain ratios supported in I2S MASTER Mode */
switch (sp_sclks) {
@@ -550,7 +550,7 @@ static int cs35l35_hw_params(struct snd_pcm_substream *substream,
default:
dev_err(codec->dev, "ratio not supported\n");
return -EINVAL;
- };
+ }
}
ret = regmap_update_bits(cs35l35->regmap,
CS35L35_CLK_CTL3,
@@ -703,7 +703,7 @@ static int cs35l35_codec_set_sysclk(struct snd_soc_codec *codec,
default:
dev_err(codec->dev, "Invalid CLK Source\n");
return -EINVAL;
- };
+ }
switch (freq) {
case 5644800:
--
2.11.0