2022-10-21 09:30:46

by Yang Li

[permalink] [raw]
Subject: [PATCH -next RESEND] HID: mcp2221: Remove unneeded semicolon

./drivers/hid/hid-mcp2221.c:1019:3-4: Unneeded semicolon

Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2485
Reported-by: Abaci Robot <[email protected]>
Signed-off-by: Yang Li <[email protected]>
---
drivers/hid/hid-mcp2221.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/hid/hid-mcp2221.c b/drivers/hid/hid-mcp2221.c
index b3eaf170f0ec..9287730aab27 100644
--- a/drivers/hid/hid-mcp2221.c
+++ b/drivers/hid/hid-mcp2221.c
@@ -1019,7 +1019,7 @@ static int mcp_iio_channels(struct mcp2221 *mcp)
break;
default:
continue;
- };
+ }

chan->type = IIO_VOLTAGE;
chan->indexed = 1;
--
2.20.1.7.g153144c