[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190510180347.GA130528@lkp-kbuild21>
Date: Sat, 11 May 2019 02:03:47 +0800
From: kbuild test robot <lkp@...el.com>
To: Andrey Smirnov <andrew.smirnov@...il.com>
Cc: kbuild-all@...org, Sebastian Reichel <sre@...nel.org>,
Enric Balletbo Serra <enric.balletbo@...labora.com>,
Guenter Roeck <linux@...ck-us.net>, linux-pm@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH] power: supply: fix semicolon.cocci warnings
From: kbuild test robot <lkp@...el.com>
drivers/power/supply/ucs1002_power.c:339:2-3: Unneeded semicolon
Remove unneeded semicolon.
Generated by: scripts/coccinelle/misc/semicolon.cocci
Fixes: 9a2688e42638 ("power: supply: Add driver for Microchip UCS1002")
CC: Andrey Smirnov <andrew.smirnov@...il.com>
Signed-off-by: kbuild test robot <lkp@...el.com>
---
tree: https://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply.git for-next
head: c8f3c9fe83cafc94679007b9c0083ee25d5735e0
commit: 9a2688e42638f2e057dbdfce82e221b38bfba0a7 [42/44] power: supply: Add driver for Microchip UCS1002
ucs1002_power.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/drivers/power/supply/ucs1002_power.c
+++ b/drivers/power/supply/ucs1002_power.c
@@ -336,7 +336,7 @@ static int ucs1002_get_usb_type(struct u
case F_ACTIVE_MODE_BC12_CDP:
type = POWER_SUPPLY_USB_TYPE_CDP;
break;
- };
+ }
val->intval = type;
Powered by blists - more mailing lists