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

index 07163f0..989af62 100644 (file)
@@ -189,7 +189,7 @@ static int snow_probe(struct platform_device *pdev)
                        return PTR_ERR(priv->clk_i2s_bus);
                }
        } else {
-               link->codecs->dai_name = "HiFi",
+               link->codecs->dai_name = "HiFi";
 
                link->cpus->of_node = of_parse_phandle(dev->of_node,
                                                "samsung,i2s-controller", 0);