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

kbuild test robot lkp at intel.com
Fri Jun 24 05:43:05 PDT 2016


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

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



More information about the linux-arm-kernel mailing list