* [PATCH] power: supply: ingenic: remove unneeded semicolon
@ 2020-11-01 14:09 trix
2020-11-04 11:23 ` Paul Cercueil
0 siblings, 1 reply; 2+ messages in thread
From: trix @ 2020-11-01 14:09 UTC (permalink / raw)
To: paul, sre; +Cc: linux-pm, linux-kernel, Tom Rix
From: Tom Rix <trix@redhat.com>
A semicolon is not needed after a switch statement.
Signed-off-by: Tom Rix <trix@redhat.com>
---
drivers/power/supply/ingenic-battery.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/power/supply/ingenic-battery.c b/drivers/power/supply/ingenic-battery.c
index 32dc77fd9a95..8b18219ebe90 100644
--- a/drivers/power/supply/ingenic-battery.c
+++ b/drivers/power/supply/ingenic-battery.c
@@ -52,7 +52,7 @@ static int ingenic_battery_get_property(struct power_supply *psy,
return 0;
default:
return -EINVAL;
- };
+ }
}
/* Set the most appropriate IIO channel voltage reference scale
--
2.18.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] power: supply: ingenic: remove unneeded semicolon
2020-11-01 14:09 [PATCH] power: supply: ingenic: remove unneeded semicolon trix
@ 2020-11-04 11:23 ` Paul Cercueil
0 siblings, 0 replies; 2+ messages in thread
From: Paul Cercueil @ 2020-11-04 11:23 UTC (permalink / raw)
To: trix; +Cc: sre, linux-pm, linux-kernel
Hi,
Le dim. 1 nov. 2020 à 6:09, trix@redhat.com a écrit :
> From: Tom Rix <trix@redhat.com>
>
> A semicolon is not needed after a switch statement.
>
> Signed-off-by: Tom Rix <trix@redhat.com>
Acked-by: Paul Cercueil <paul@crapouillou.net>
Cheers,
-Paul
> ---
> drivers/power/supply/ingenic-battery.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/power/supply/ingenic-battery.c
> b/drivers/power/supply/ingenic-battery.c
> index 32dc77fd9a95..8b18219ebe90 100644
> --- a/drivers/power/supply/ingenic-battery.c
> +++ b/drivers/power/supply/ingenic-battery.c
> @@ -52,7 +52,7 @@ static int ingenic_battery_get_property(struct
> power_supply *psy,
> return 0;
> default:
> return -EINVAL;
> - };
> + }
> }
>
> /* Set the most appropriate IIO channel voltage reference scale
> --
> 2.18.1
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-11-04 11:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-01 14:09 [PATCH] power: supply: ingenic: remove unneeded semicolon trix
2020-11-04 11:23 ` Paul Cercueil
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).