diff mbox

power: act8945a_charger: fix semicolon.cocci warnings

Message ID B256D81BAE5131468A838E5D7A243641018CCCD07D@penmbx01 (mailing list archive)
State New, archived
Headers show

Commit Message

Wenyou Yang July 29, 2016, 12:57 a.m. UTC
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

Comments

kernel test robot July 29, 2016, 1:01 a.m. UTC | #1
Hi Wenyou,

On Fri, Jul 29, 2016 at 12:57:20AM +0000, Yang, Wenyou wrote:
>Hi Fengguang,
>
>I would like to merge this patch and add your Signed-off-by, do you agree?
>
>I think it is better.

Yes that'd be fine, too.

Thanks,
Fengguang

>From: kbuild test robot [lkp@intel.com]
>Sent: Friday, June 24, 2016 20:43
>To: Yang, Wenyou
>Cc: kbuild-all@01.org; Sebastian Reichel; Dmitry Eremin-Solenikov; David Woodhouse; Rob Herring; Pawel Moll; Mark Brown; Ian Campbell; Kumar Gala; linux-kernel@vger.kernel.org; devicetree@vger.kernel.org; linux-arm-kernel@lists.infradead.org; Ferre, Nicolas; linux-pm@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@atmel.com>
>Signed-off-by: Fengguang Wu <fengguang.wu@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;
> }
>_______________________________________________
>kbuild-all mailing list
>kbuild-all@lists.01.org
>https://lists.01.org/mailman/listinfo/kbuild-all
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;
 }