ASoC: cs35l35: fix semicolon.cocci warnings
authorkbuild test robot <fengguang.wu@intel.com>
Sun, 12 Mar 2017 01:11:32 +0000 (09:11 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 13 Mar 2017 16:47:56 +0000 (16:47 +0000)
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@cirrus.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/cs35l35.c

index a5da1d511a8a2dfe3146690a6000a8cd7172958e..6a266516f54369f096b4788cd7875866e6a42cb6 100644 (file)
@@ -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: