soc: aspeed: remove unneeded semicolon
PATCH 1/1 soc: aspeed: remove unneeded semicolon
From: Tom Rix <[email protected]>
A semicolon is not needed after a switch statement.
Signed-off-by Tom Rix <[email protected]>
--- drivers/soc/aspeed/aspeed-socinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/soc/aspeed/aspeed-socinfo.c +1 -1
@@ -51,7 +51,7 @@ static const char *siliconid_to_rev(u32 siliconid)return "A1" ;case 3 :return "A2" ; - }; + }return "??" ; }
Signature · 1 line
2.18.1
Joel Stanley
maintainerQuoted 4 lines · On Sun, 1 Nov 2020 at 15:06, <[email protected]> wrote:
From: Tom Rix <[email protected]>
A semicolon is not needed after a switch statement.
Thanks Tom. I will add this to the aspeed soc tree.
Quoted 22 lines
Signed-off-by Tom Rix <[email protected]>--- drivers/soc/aspeed/aspeed-socinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/soc/aspeed/aspeed-socinfo.c +1
-2@@ -51,7 +51,7 @@ static const char *siliconid_to_rev(u32 siliconid)return "A1" ;case 3 :return "A2" ; - }; + }return "??" ; } --2.18.1