diff options
author | kbuild test robot <lkp@intel.com> | 2019-05-10 21:03:47 +0300 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2019-06-26 22:56:52 +0300 |
commit | 89e7854fcd5a9d9030faf47cf0244ecc4d097628 (patch) | |
tree | 498e698bdbbc903ec92194974953fb234e3bfa54 /drivers/power/supply/ucs1002_power.c | |
parent | 7a78a7f7695bf9ef9cef3c06fbc5fa4573fd0eef (diff) | |
download | linux-89e7854fcd5a9d9030faf47cf0244ecc4d097628.tar.xz |
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/supply/ucs1002_power.c')
-rw-r--r-- | drivers/power/supply/ucs1002_power.c | 2 |
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; |