diff mbox

ASoC: sun4i-codec: fix semicolon.cocci warnings

Message ID 20161109163518.GA42508@lkp-nex06.lkp.intel.com (mailing list archive)
State Accepted
Commit 35db57622c31af687d5cb14104e91897d778a8fc
Headers show

Commit Message

Fengguang Wu Nov. 9, 2016, 4:35 p.m. UTC
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@csie.org>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---

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

Comments

Chen-Yu Tsai Nov. 10, 2016, 6:15 a.m. UTC | #1
On Thu, Nov 10, 2016 at 12:35 AM, kbuild test robot
<fengguang.wu@intel.com> wrote:
> 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@csie.org>
> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>

Acked-by: Chen-Yu Tsai <wens@csie.org>

Sorry about the screw up.

> ---
>
>  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);
diff mbox

Patch

--- 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);