[PATCH] drm/tinydrm: fix semicolon.cocci warnings
From: kbuild test robot
Date: Sun Mar 12 2017 - 10:47:43 EST
drivers/gpu/drm/tinydrm/mipi-dbi.c:657:2-3: Unneeded semicolon
drivers/gpu/drm/tinydrm/mipi-dbi.c:593:2-3: Unneeded semicolon
Remove unneeded semicolon.
Generated by: scripts/coccinelle/misc/semicolon.cocci
Signed-off-by: Fengguang Wu <fengguang.wu@xxxxxxxxx>
---
mipi-dbi.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- a/drivers/gpu/drm/tinydrm/mipi-dbi.c
+++ b/drivers/gpu/drm/tinydrm/mipi-dbi.c
@@ -590,7 +590,7 @@ static int mipi_dbi_spi1e_transfer(struc
ret = spi_sync(spi, &m);
if (ret)
return ret;
- };
+ }
return 0;
}
@@ -654,7 +654,7 @@ static int mipi_dbi_spi1_transfer(struct
ret = spi_sync(spi, &m);
if (ret)
return ret;
- };
+ }
return 0;
}