[PATCH] RFC: bus: fix semicolon.cocci warnings

From: Julia Lawall
Date: Fri Jun 15 2018 - 13:59:30 EST


From: kbuild test robot <fengguang.wu@xxxxxxxxx>

Remove unneeded semicolon.

Generated by: scripts/coccinelle/misc/semicolon.cocci

Fixes: 7d8c3a62781b ("RFC: bus: 96boards Low-Speed Connector")
Signed-off-by: kbuild test robot <fengguang.wu@xxxxxxxxx>
Signed-off-by: Julia Lawall <julia.lawall@xxxxxxx>
---
tree:
https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-integrator.git ultra96
head: 27803f286226e1b5b5893aabfd55feec08b73bae
commit: 7d8c3a62781bbd8b42119b3af2c90f4d9eef3748 [20/21] RFC: bus:
96boards Low-Speed Connector


96boards-secure96.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

--- a/drivers/bus/96boards-mezzanines/96boards-secure96.c
+++ b/drivers/bus/96boards-mezzanines/96boards-secure96.c
@@ -223,7 +223,7 @@ out_unreg_leds:
platform_device_unregister(sec->leds_device);
for (i = 0; i < ARRAY_SIZE(ledinfos); i++) {
mezzanine_ls_put_gpiod(ls, sec->secure96_leds[i].gpiod);
- };
+ }
return ERR_PTR(ret);
}
EXPORT_SYMBOL_GPL(secure96_populate);
@@ -244,6 +244,6 @@ void secure96_depopulate(void *data)
platform_device_unregister(sec->leds_device);
for (i = 0; i < ARRAY_SIZE(ledinfos); i++) {
mezzanine_ls_put_gpiod(sec->ls, sec->secure96_leds[i].gpiod);
- };
+ }
}
EXPORT_SYMBOL_GPL(secure96_depopulate);