[PATCH] ASoC: sun4i-codec: fix semicolon.cocci warnings

kbuild test robot fengguang.wu at intel.com
Wed Nov 9 08:35:18 PST 2016


sound/soc/sunxi/sun4i-codec.c:1339:2-3: Unneeded semicolon


 Remove unneeded semicolon.

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

CC: Chen-Yu Tsai <wens at csie.org>
Signed-off-by: Fengguang Wu <fengguang.wu at intel.com>
---

 sun4i-codec.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/sound/soc/sunxi/sun4i-codec.c
+++ b/sound/soc/sunxi/sun4i-codec.c
@@ -1336,7 +1336,7 @@ static int sun4i_codec_probe(struct plat
 			dev_err(&pdev->dev, "Failed to get reset control\n");
 			return PTR_ERR(scodec->rst);
 		}
-	};
+	}
 
 	scodec->gpio_pa = devm_gpiod_get_optional(&pdev->dev, "allwinner,pa",
 						  GPIOD_OUT_LOW);



More information about the linux-arm-kernel mailing list