summaryrefslogtreecommitdiffstats
path: root/drivers/power
diff options
context:
space:
mode:
authorkbuild test robot <lkp@intel.com>2019-05-11 02:03:47 +0800
committerSebastian Reichel <sre@kernel.org>2019-06-26 21:56:52 +0200
commit89e7854fcd5a9d9030faf47cf0244ecc4d097628 (patch)
tree498e698bdbbc903ec92194974953fb234e3bfa54 /drivers/power
parent7a78a7f7695bf9ef9cef3c06fbc5fa4573fd0eef (diff)
downloadlinux-89e7854fcd5a9d9030faf47cf0244ecc4d097628.tar.gz
linux-89e7854fcd5a9d9030faf47cf0244ecc4d097628.tar.bz2
linux-89e7854fcd5a9d9030faf47cf0244ecc4d097628.zip
power: supply: fix semicolon.cocci warnings
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@gmail.com> Signed-off-by: kbuild test robot <lkp@intel.com> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'drivers/power')
-rw-r--r--drivers/power/supply/ucs1002_power.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/supply/ucs1002_power.c b/drivers/power/supply/ucs1002_power.c
index 1c89d030c045..1b80ae479e7d 100644
--- 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 ucs1002_info *info,
case F_ACTIVE_MODE_BC12_CDP:
type = POWER_SUPPLY_USB_TYPE_CDP;
break;
- };
+ }
val->intval = type;