diff mbox series

power: supply: ingenic: remove unneeded semicolon

Message ID 20201101140910.2280370-1-trix@redhat.com (mailing list archive)
State Not Applicable, archived
Headers show
Series power: supply: ingenic: remove unneeded semicolon | expand

Commit Message

Tom Rix Nov. 1, 2020, 2:09 p.m. UTC
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(-)

Comments

Paul Cercueil Nov. 4, 2020, 11:23 a.m. UTC | #1
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
>
diff mbox series

Patch

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