lkml.org 
[lkml]   [2020]   [Jan]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] power: remove unneeded semicolon
Hi,

On Wed, Jan 15, 2020 at 09:40:10PM +0800, Chen Zhou wrote:
> Fixes coccicheck warning:
>
> ./drivers/power/supply/ipaq_micro_battery.c:188:2-3: Unneeded semicolon
> ./drivers/power/supply/ipaq_micro_battery.c:152:3-4: Unneeded semicolon
> ./drivers/power/supply/ipaq_micro_battery.c:171:2-3: Unneeded semicolon
>
> Signed-off-by: Chen Zhou <chenzhou10@huawei.com>
> ---

Thanks, I fixed the patch subject and applied it to power-supply's
for-next branch.

-- Sebastian

> drivers/power/supply/ipaq_micro_battery.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/power/supply/ipaq_micro_battery.c b/drivers/power/supply/ipaq_micro_battery.c
> index 03592ce..192d9db 100644
> --- a/drivers/power/supply/ipaq_micro_battery.c
> +++ b/drivers/power/supply/ipaq_micro_battery.c
> @@ -149,7 +149,7 @@ static int micro_batt_get_property(struct power_supply *b,
> default:
> val->intval = POWER_SUPPLY_TECHNOLOGY_UNKNOWN;
> break;
> - };
> + }
> break;
> case POWER_SUPPLY_PROP_STATUS:
> val->intval = get_status(b);
> @@ -168,7 +168,7 @@ static int micro_batt_get_property(struct power_supply *b,
> break;
> default:
> return -EINVAL;
> - };
> + }
>
> return 0;
> }
> @@ -185,7 +185,7 @@ static int micro_ac_get_property(struct power_supply *b,
> break;
> default:
> return -EINVAL;
> - };
> + }
>
> return 0;
> }
> --
> 2.7.4
>
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2020-01-17 02:17    [W:0.039 / U:0.928 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site