Re: [PATCH] power: supply: fix semicolon.cocci warnings

From: Sebastian Reichel
Date: Thu Jun 27 2019 - 14:34:02 EST


Hi,

On Sat, May 11, 2019 at 02:03:47AM +0800, kbuild test robot wrote:
> From: kbuild test robot <lkp@xxxxxxxxx>
>
> drivers/power/supply/ucs1002_power.c:339:2-3: Unneeded semicolon
>
>
> Remove unneeded semicolon.
>
> Generated by: scripts/coccinelle/misc/semicolon.cocci

Thanks, queued.

-- Sebastian

> Fixes: 9a2688e42638 ("power: supply: Add driver for Microchip UCS1002")
> CC: Andrey Smirnov <andrew.smirnov@xxxxxxxxx>
> Signed-off-by: kbuild test robot <lkp@xxxxxxxxx>
> ---
>
> 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;
>

Attachment: signature.asc
Description: PGP signature