diff mbox series

ASoC: wcd9335: fix semicolon.cocci warnings

Message ID 20190204213325.GA104011@lkp-hsx02 (mailing list archive)
State Accepted
Commit afb86626509205b009d636dcc098066ccf3954c6
Headers show
Series ASoC: wcd9335: fix semicolon.cocci warnings | expand

Commit Message

kernel test robot Feb. 4, 2019, 9:33 p.m. UTC
From: kbuild test robot <lkp@intel.com>

sound/soc/codecs/wcd-clsh-v2.c:545:2-3: Unneeded semicolon
sound/soc/codecs/wcd-clsh-v2.c:211:2-3: Unneeded semicolon
sound/soc/codecs/wcd-clsh-v2.c:250:2-3: Unneeded semicolon


 Remove unneeded semicolon.

Generated by: scripts/coccinelle/misc/semicolon.cocci

Fixes: cc2e324d39b2 ("ASoC: wcd9335: add CLASS-H Controller support")
CC: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: kbuild test robot <fengguang.wu@intel.com>
---

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.1
head:   0f747bb273790f49be4660521d86d7cebd1bbe1e
commit: cc2e324d39b26d62599d056f5cb905a025b909a3 [98/129] ASoC: wcd9335: add CLASS-H Controller support

 wcd-clsh-v2.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
diff mbox series

Patch

--- a/sound/soc/codecs/wcd-clsh-v2.c
+++ b/sound/soc/codecs/wcd-clsh-v2.c
@@ -208,7 +208,7 @@  static void wcd_clsh_set_gain_path(struc
 	case CLS_H_LP:
 		val = WCD9XXX_HPH_CONST_SEL_LP_PATH;
 		break;
-	};
+	}
 
 	snd_soc_component_update_bits(comp, WCD9XXX_HPH_L_EN,
 					WCD9XXX_HPH_CONST_SEL_L_MASK,
@@ -247,7 +247,7 @@  static void wcd_clsh_set_hph_mode(struct
 		val = WCD9XXX_A_ANA_HPH_PWR_LEVEL_LP;
 		ipeak = WCD9XXX_CLASSH_CTRL_CCL_1_DELTA_IPEAK_30MA;
 		break;
-	};
+	}
 
 	snd_soc_component_update_bits(comp, WCD9XXX_A_ANA_HPH,
 					WCD9XXX_A_ANA_HPH_PWR_LEVEL_MASK, val);
@@ -542,7 +542,7 @@  int wcd_clsh_ctrl_set_state(struct wcd_c
 	case WCD_CLSH_EVENT_POST_PA:
 		_wcd_clsh_ctrl_set_state(ctrl, nstate, CLSH_REQ_DISABLE, mode);
 		break;
-	};
+	}
 
 	ctrl->state = nstate;
 	ctrl->mode = mode;