RE: [PATCH] power: act8945a_charger: fix semicolon.cocci warnings
From: Yang, Wenyou
Date: Mon Jun 27 2016 - 21:36:40 EST
> -----Original Message-----
> From: kbuild test robot [mailto:lkp@xxxxxxxxx]
> Sent: 2016年6月24日 20:43
> To: Yang, Wenyou <Wenyou.Yang@xxxxxxxxx>
> Cc: kbuild-all@xxxxxx; Sebastian Reichel <sre@xxxxxxxxxx>; Dmitry Eremin-
> Solenikov <dbaryshkov@xxxxxxxxx>; David Woodhouse
> <dwmw2@xxxxxxxxxxxxx>; Rob Herring <robh+dt@xxxxxxxxxx>; Pawel Moll
> <pawel.moll@xxxxxxx>; Mark Brown <broonie@xxxxxxxxxx>; Ian Campbell
> <ijc+devicetree@xxxxxxxxxxxxxx>; Kumar Gala <galak@xxxxxxxxxxxxxx>; linux-
> kernel@xxxxxxxxxxxxxxx; devicetree@xxxxxxxxxxxxxxx; linux-arm-
> kernel@xxxxxxxxxxxxxxxxxxx; Ferre, Nicolas <Nicolas.FERRE@xxxxxxxxx>; linux-
> pm@xxxxxxxxxxxxxxx; Yang, Wenyou <Wenyou.Yang@xxxxxxxxx>
> Subject: [PATCH] power: act8945a_charger: fix semicolon.cocci warnings
>
> drivers/power/act8945a_charger.c:115:2-3: Unneeded semicolon
>
>
> Remove unneeded semicolon.
>
> Generated by: scripts/coccinelle/misc/semicolon.cocci
>
> CC: Wenyou Yang <wenyou.yang@xxxxxxxxx>
> Signed-off-by: Fengguang Wu <fengguang.wu@xxxxxxxxx>
Acked-by Wenyou Yang <Wenyou.yang@xxxxxxxxx>
Thank you for your fix.
> ---
>
> act8945a_charger.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> --- a/drivers/power/act8945a_charger.c
> +++ b/drivers/power/act8945a_charger.c
> @@ -112,7 +112,7 @@ static int act8945a_get_charger_state(st
> else
> *val = POWER_SUPPLY_STATUS_NOT_CHARGING;
> break;
> - };
> + }
>
> return 0;
> }
Best Regards,
Wenyou Yang