Commit 2db5fa77 authored by Julia Lawall's avatar Julia Lawall Committed by Mark Brown

ASoC: wm8350: use semicolons rather than commas to separate statements

Replace commas with semicolons.  What is done is essentially described by
the following Coccinelle semantic patch (http://coccinelle.lip6.fr/):

// <smpl>
@@ expression e1,e2; @@
e1
-,
+;
e2
... when any
// </smpl>
Signed-off-by: default avatarJulia Lawall <Julia.Lawall@inria.fr>
Acked-by: default avatarCharles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/1602407979-29038-2-git-send-email-Julia.Lawall@inria.frSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent fc7f6a05
...@@ -218,7 +218,8 @@ static void wm8350_pga_work(struct work_struct *work) ...@@ -218,7 +218,8 @@ static void wm8350_pga_work(struct work_struct *work)
/* PGA volumes have 6 bits of resolution to ramp */ /* PGA volumes have 6 bits of resolution to ramp */
for (i = 0; i <= 63; i++) { for (i = 0; i <= 63; i++) {
out1_complete = 1, out2_complete = 1; out1_complete = 1;
out2_complete = 1;
if (out1->ramp != WM8350_RAMP_NONE) if (out1->ramp != WM8350_RAMP_NONE)
out1_complete = wm8350_out1_ramp_step(wm8350_data); out1_complete = wm8350_out1_ramp_step(wm8350_data);
if (out2->ramp != WM8350_RAMP_NONE) if (out2->ramp != WM8350_RAMP_NONE)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment