projects
/
platform
/
kernel
/
linux-amlogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
061d1af
)
HID: mcp2221: Remove unnecessary semicolon
author
Chen Ni
<nichen@iscas.ac.cn>
Tue, 9 Jul 2024 01:22:23 +0000
(09:22 +0800)
committer
Benjamin Tissoires
<bentiss@kernel.org>
Fri, 12 Jul 2024 16:30:11 +0000
(18:30 +0200)
Remove unnecessary semicolon at the end of the switch statement.
This is detected by coccinelle.
Signed-off-by: Chen Ni <nichen@iscas.ac.cn>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Link:
https://patch.msgid.link/20240709012223.17393-1-nichen@iscas.ac.cn
Signed-off-by: Benjamin Tissoires <bentiss@kernel.org>
drivers/hid/hid-mcp2221.c
patch
|
blob
|
history
diff --git
a/drivers/hid/hid-mcp2221.c
b/drivers/hid/hid-mcp2221.c
index da5ea5a23b087cde332ed28bf21a542c758e8919..0f93c22a479f33a7ec0b8c0c32de8f0d9958ef79 100644
(file)
--- a/
drivers/hid/hid-mcp2221.c
+++ b/
drivers/hid/hid-mcp2221.c
@@
-1048,7
+1048,7
@@
static int mcp_iio_channels(struct mcp2221 *mcp)
break;
default:
continue;
- }
;
+ }
chan->type = IIO_VOLTAGE;
chan->indexed = 1;