aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2010-11-15 12:09:17 -0500
committerMark Brown <broonie@opensource.wolfsonmicro.com>2010-11-15 12:20:34 -0500
commitef995e3a91e290684f24696e1d2e8767a2a2ebb6 (patch)
treeae258dd424329fb706e6d64777a9f3137dd2df0b /sound/soc
parentead9b9199c09653dd9b889933c7af75f020c7286 (diff)
ASoC: Remove unnecessary semicolons
Signed-off-by: Joe Perches <joe@perches.com> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc')
-rw-r--r--sound/soc/codecs/wm8904.c2
-rw-r--r--sound/soc/codecs/wm8940.c1
-rw-r--r--sound/soc/codecs/wm8993.c2
-rw-r--r--sound/soc/codecs/wm_hubs.c2
4 files changed, 3 insertions, 4 deletions
diff --git a/sound/soc/codecs/wm8904.c b/sound/soc/codecs/wm8904.c
index be90399c1cb4..5e57bd2483e8 100644
--- a/sound/soc/codecs/wm8904.c
+++ b/sound/soc/codecs/wm8904.c
@@ -1591,7 +1591,7 @@ static int wm8904_hw_params(struct snd_pcm_substream *substream,
1591 - wm8904->fs); 1591 - wm8904->fs);
1592 for (i = 1; i < ARRAY_SIZE(clk_sys_rates); i++) { 1592 for (i = 1; i < ARRAY_SIZE(clk_sys_rates); i++) {
1593 cur_val = abs((wm8904->sysclk_rate / 1593 cur_val = abs((wm8904->sysclk_rate /
1594 clk_sys_rates[i].ratio) - wm8904->fs);; 1594 clk_sys_rates[i].ratio) - wm8904->fs);
1595 if (cur_val < best_val) { 1595 if (cur_val < best_val) {
1596 best = i; 1596 best = i;
1597 best_val = cur_val; 1597 best_val = cur_val;
diff --git a/sound/soc/codecs/wm8940.c b/sound/soc/codecs/wm8940.c
index c2def1b01ae0..caed0849e005 100644
--- a/sound/soc/codecs/wm8940.c
+++ b/sound/soc/codecs/wm8940.c
@@ -736,7 +736,6 @@ static int wm8940_probe(struct snd_soc_codec *codec)
736 return ret; 736 return ret;
737 737
738 return ret; 738 return ret;
739;
740} 739}
741 740
742static int wm8940_remove(struct snd_soc_codec *codec) 741static int wm8940_remove(struct snd_soc_codec *codec)
diff --git a/sound/soc/codecs/wm8993.c b/sound/soc/codecs/wm8993.c
index bcc54be572ce..991d90c79dd2 100644
--- a/sound/soc/codecs/wm8993.c
+++ b/sound/soc/codecs/wm8993.c
@@ -1227,7 +1227,7 @@ static int wm8993_hw_params(struct snd_pcm_substream *substream,
1227 - wm8993->fs); 1227 - wm8993->fs);
1228 for (i = 1; i < ARRAY_SIZE(clk_sys_rates); i++) { 1228 for (i = 1; i < ARRAY_SIZE(clk_sys_rates); i++) {
1229 cur_val = abs((wm8993->sysclk_rate / 1229 cur_val = abs((wm8993->sysclk_rate /
1230 clk_sys_rates[i].ratio) - wm8993->fs);; 1230 clk_sys_rates[i].ratio) - wm8993->fs);
1231 if (cur_val < best_val) { 1231 if (cur_val < best_val) {
1232 best = i; 1232 best = i;
1233 best_val = cur_val; 1233 best_val = cur_val;
diff --git a/sound/soc/codecs/wm_hubs.c b/sound/soc/codecs/wm_hubs.c
index 8aff0efe72f5..422c7fb383eb 100644
--- a/sound/soc/codecs/wm_hubs.c
+++ b/sound/soc/codecs/wm_hubs.c
@@ -119,7 +119,7 @@ static void calibrate_dc_servo(struct snd_soc_codec *codec)
119 switch (hubs->dcs_readback_mode) { 119 switch (hubs->dcs_readback_mode) {
120 case 0: 120 case 0:
121 reg_l = snd_soc_read(codec, WM8993_DC_SERVO_READBACK_1) 121 reg_l = snd_soc_read(codec, WM8993_DC_SERVO_READBACK_1)
122 & WM8993_DCS_INTEG_CHAN_0_MASK;; 122 & WM8993_DCS_INTEG_CHAN_0_MASK;
123 reg_r = snd_soc_read(codec, WM8993_DC_SERVO_READBACK_2) 123 reg_r = snd_soc_read(codec, WM8993_DC_SERVO_READBACK_2)
124 & WM8993_DCS_INTEG_CHAN_1_MASK; 124 & WM8993_DCS_INTEG_CHAN_1_MASK;
125 break; 125 break;