diff mbox

power: act8945a_charger: fix semicolon.cocci warnings

Message ID 20160624124305.GA11000@ivytown2 (mailing list archive)
State Not Applicable, archived
Headers show

Commit Message

kernel test robot June 24, 2016, 12:43 p.m. UTC
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@atmel.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---

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

--
To unsubscribe from this list: send the line "unsubscribe linux-pm" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

Wenyou Yang June 28, 2016, 1:34 a.m. UTC | #1
> -----Original Message-----

> From: kbuild test robot [mailto:lkp@intel.com]

> Sent: 2016年6月24日 20:43

> To: Yang, Wenyou <Wenyou.Yang@atmel.com>

> Cc: kbuild-all@01.org; Sebastian Reichel <sre@kernel.org>; Dmitry Eremin-

> Solenikov <dbaryshkov@gmail.com>; David Woodhouse

> <dwmw2@infradead.org>; Rob Herring <robh+dt@kernel.org>; Pawel Moll

> <pawel.moll@arm.com>; Mark Brown <broonie@kernel.org>; Ian Campbell

> <ijc+devicetree@hellion.org.uk>; Kumar Gala <galak@codeaurora.org>; linux-

> kernel@vger.kernel.org; devicetree@vger.kernel.org; linux-arm-

> kernel@lists.infradead.org; Ferre, Nicolas <Nicolas.FERRE@atmel.com>; linux-

> pm@vger.kernel.org; Yang, Wenyou <Wenyou.Yang@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@atmel.com>

> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>

Acked-by Wenyou Yang <Wenyou.yang@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
diff mbox

Patch

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