summaryrefslogtreecommitdiff
path: root/drivers/input
diff options
context:
space:
mode:
authorYang Li <yang.lee@linux.alibaba.com>2021-02-05 22:50:52 +0300
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2021-02-17 00:05:54 +0300
commita374c19f7f15e3b2c85b3d8753c63e16dbb22d2e (patch)
treebc9e994aebeccf7d9780f694fc664666a846c268 /drivers/input
parent7a6a53b2b1a3e68b69cd75a74783f4d8fd5b6fb5 (diff)
downloadlinux-a374c19f7f15e3b2c85b3d8753c63e16dbb22d2e.tar.xz
Input: zinitix - remove unneeded semicolon
Eliminate the following coccicheck warning: ./drivers/input/touchscreen/zinitix.c:164:31-32: Unneeded semicolon Reported-by: Abaci Robot <abaci@linux.alibaba.com> Signed-off-by: Yang Li <yang.lee@linux.alibaba.com> Link: https://lore.kernel.org/r/1612319443-115831-1-git-send-email-yang.lee@linux.alibaba.com Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input')
-rw-r--r--drivers/input/touchscreen/zinitix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/touchscreen/zinitix.c b/drivers/input/touchscreen/zinitix.c
index a3e3adbabc67..f64d88170fac 100644
--- a/drivers/input/touchscreen/zinitix.c
+++ b/drivers/input/touchscreen/zinitix.c
@@ -161,7 +161,7 @@ static int zinitix_read_data(struct i2c_client *client,
ret = i2c_master_recv(client, (u8 *)values, length);
if (ret != length)
- return ret < 0 ? ret : -EIO; ;
+ return ret < 0 ? ret : -EIO;
return 0;
}