[PATCH] power: act8945a_charger: fix semicolon.cocci warnings

Yang, Wenyou Wenyou.Yang at atmel.com
Mon Jun 27 18:34:20 PDT 2016



> -----Original Message-----
> From: kbuild test robot [mailto:lkp at intel.com]
> Sent: 2016年6月24日 20:43
> To: Yang, Wenyou <Wenyou.Yang at atmel.com>
> Cc: kbuild-all at 01.org; Sebastian Reichel <sre at kernel.org>; Dmitry Eremin-
> Solenikov <dbaryshkov at gmail.com>; David Woodhouse
> <dwmw2 at infradead.org>; Rob Herring <robh+dt at kernel.org>; Pawel Moll
> <pawel.moll at arm.com>; Mark Brown <broonie at kernel.org>; Ian Campbell
> <ijc+devicetree at hellion.org.uk>; Kumar Gala <galak at codeaurora.org>; linux-
> kernel at vger.kernel.org; devicetree at vger.kernel.org; linux-arm-
> kernel at lists.infradead.org; Ferre, Nicolas <Nicolas.FERRE at atmel.com>; linux-
> pm at vger.kernel.org; Yang, Wenyou <Wenyou.Yang at atmel.com>
> 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 at atmel.com>
> Signed-off-by: Fengguang Wu <fengguang.wu at intel.com>
Acked-by Wenyou Yang <Wenyou.yang at atmel.com>

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


More information about the linux-arm-kernel mailing list