ASoC: dapm: use semicolons rather than commas to separate statements
authorJulia Lawall <Julia.Lawall@inria.fr>
Sun, 11 Oct 2020 09:19:39 +0000 (11:19 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 26 Oct 2020 15:28:10 +0000 (15:28 +0000)
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: Julia Lawall <Julia.Lawall@inria.fr>
Link: https://lore.kernel.org/r/1602407979-29038-9-git-send-email-Julia.Lawall@inria.fr
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-dapm.c

index 980f2c3..6e764c7 100644 (file)
@@ -4764,7 +4764,7 @@ void snd_soc_dapm_init(struct snd_soc_dapm_context *dapm,
 
        if (component) {
                dapm->dev               = component->dev;
-               dapm->idle_bias_off     = !component->driver->idle_bias_on,
+               dapm->idle_bias_off     = !component->driver->idle_bias_on;
                dapm->suspend_bias_off  = component->driver->suspend_bias_off;
        } else {
                dapm->dev               = card->dev;