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>
This commit is contained in:

committed by
Sebastian Reichel

父節點
7a78a7f769
當前提交
89e7854fcd
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user