1
0
Fork 0

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: 9a2688e426 ("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>
alistair/sunxi64-5.4-dsi
kbuild test robot 2019-05-11 02:03:47 +08:00 committed by Sebastian Reichel
parent 7a78a7f769
commit 89e7854fcd
1 changed files with 1 additions and 1 deletions

View File

@ -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;