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

Yang, Wenyou Wenyou.Yang at atmel.com
Thu Jul 28 17:57:20 PDT 2016


Hi Fengguang,

I would like to merge this patch and add your Signed-off-by, do you agree?

I think it is better.

Best Regards,
Wenyou Yang

________________________________________
From: kbuild test robot [lkp at intel.com]
Sent: Friday, June 24, 2016 20:43
To: Yang, Wenyou
Cc: kbuild-all at 01.org; Sebastian Reichel; Dmitry Eremin-Solenikov; David Woodhouse; Rob Herring; Pawel Moll; Mark Brown; Ian Campbell; Kumar Gala; linux-kernel at vger.kernel.org; devicetree at vger.kernel.org; linux-arm-kernel at lists.infradead.org; Ferre, Nicolas; linux-pm at vger.kernel.org; Yang, Wenyou
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>
---

 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