Re: [PATCH] power: supply: ingenic: remove unneeded semicolon

From: Paul Cercueil
Date: Wed Nov 04 2020 - 06:25:05 EST


Hi,

Le dim. 1 nov. 2020 à 6:09, trix@xxxxxxxxxx a écrit :
From: Tom Rix <trix@xxxxxxxxxx>

A semicolon is not needed after a switch statement.

Signed-off-by: Tom Rix <trix@xxxxxxxxxx>

Acked-by: Paul Cercueil <paul@xxxxxxxxxxxxxxx>

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