From patchwork Tue Jul 9 01:22:23 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chen Ni X-Patchwork-Id: 13727161 X-Patchwork-Delegate: jikos@jikos.cz Received: from cstnet.cn (smtp21.cstnet.cn [159.226.251.21]) (using TLSv1.2 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 24A7B1BDDB; Tue, 9 Jul 2024 01:23:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=159.226.251.21 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720488200; cv=none; b=sZEA4vkCGFJWrBZqMMm+6CFQBGtNSV3p5v35a/ruFZOU0HvGTXvGcnURcl9idPUrTfXJH7fg0762h1FpNNx9ut1o9Q5AEOzDpI6z8nithV8SelZGZvLPXlN9aPYnNcB1y7gR7o9Zfy21YD5zhqwhfLL2jn693EJLpGK0pP1FsEU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720488200; c=relaxed/simple; bh=vd1NYBPTWUU6Vr6pVBDby7fUEiwMzEqMhOWxjEBQBtk=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=QO0UzLfPqxu3xKeGF/T7uaf1m7vZq0su3CL+/fP9u+nMecw3j04AON7UNGKAmNmYYCNbcsST8vGt6MER+Pn6dm3yyaoX/H2KGHVKHdAH/H4Q2/pZgxnqePohPAE8yhGuIivZhVRCaEG0OZaglwm+zAa+Fnj7jR6hp7M6djWv6Z0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=iscas.ac.cn; spf=pass smtp.mailfrom=iscas.ac.cn; arc=none smtp.client-ip=159.226.251.21 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=iscas.ac.cn Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=iscas.ac.cn Received: from localhost (unknown [124.16.138.129]) by APP-01 (Coremail) with SMTP id qwCowAC3l0z_kIxmYMxYAg--.413S2; Tue, 09 Jul 2024 09:23:11 +0800 (CST) From: Chen Ni To: gupt21@gmail.com, jikos@kernel.org, bentiss@kernel.org Cc: linux-i2c@vger.kernel.org, linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, Chen Ni Subject: [PATCH v2] HID: mcp2221: Remove unnecessary semicolon Date: Tue, 9 Jul 2024 09:22:23 +0800 Message-Id: <20240709012223.17393-1-nichen@iscas.ac.cn> X-Mailer: git-send-email 2.25.1 Precedence: bulk X-Mailing-List: linux-input@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-CM-TRANSID: qwCowAC3l0z_kIxmYMxYAg--.413S2 X-Coremail-Antispam: 1UD129KBjvdXoW7Wr4Dtr4xWFyxGF48ZF48tFb_yoWxAwc_Cw n8WFnrJ34Utr92q3WkJw4xZrWYva18Wa1xuFn2yr45try7Zay3GryFvrs5Jw1Uu34UtF9x XrWkJr4Fyrn3KjkaLaAFLSUrUUUUjb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUIcSsGvfJTRUUUb2AFF20E14v26r4j6ryUM7CY07I20VC2zVCF04k26cxKx2IYs7xG 6rWj6s0DM7CIcVAFz4kK6r1j6r18M28lY4IEw2IIxxk0rwA2F7IY1VAKz4vEj48ve4kI8w A2z4x0Y4vE2Ix0cI8IcVAFwI0_Xr0_Ar1l84ACjcxK6xIIjxv20xvEc7CjxVAFwI0_Gr0_ Cr1l84ACjcxK6I8E87Iv67AKxVWxJVW8Jr1l84ACjcxK6I8E87Iv6xkF7I0E14v26r4j6r 4UJwAS0I0E0xvYzxvE52x082IY62kv0487Mc02F40EFcxC0VAKzVAqx4xG6I80ewAv7VC0 I7IYx2IY67AKxVWUGVWUXwAv7VC2z280aVAFwI0_Cr0_Gr1UMcvjeVCFs4IE7xkEbVWUJV W8JwACjcxG0xvY0x0EwIxGrwACjI8F5VA0II8E6IAqYI8I648v4I1lc2xSY4AK67AK6w4l 42xK82IYc2Ij64vIr41l4I8I3I0E4IkC6x0Yz7v_Jr0_Gr1lx2IqxVAqx4xG67AKxVWUJV WUGwC20s026x8GjcxK67AKxVWUGVWUWwC2zVAF1VAY17CE14v26r126r1DMIIYrxkI7VAK I48JMIIF0xvE2Ix0cI8IcVAFwI0_Jr0_JF4lIxAIcVC0I7IYx2IY6xkF7I0E14v26r1j6r 4UMIIF0xvE42xK8VAvwI8IcIk0rVWUJVWUCwCI42IY6I8E87Iv67AKxVWUJVW8JwCI42IY 6I8E87Iv6xkF7I0E14v26r1j6r4UYxBIdaVFxhVjvjDU0xZFpf9x0JURMKZUUUUU= X-CM-SenderInfo: xqlfxv3q6l2u1dvotugofq/ Remove unnecessary semicolon at the end of the switch statement. This is detected by coccinelle. Signed-off-by: Chen Ni --- Changelog: v1 -> v2: 1. Update commit message. 2. Remove Fixes tag. --- 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 da5ea5a23b08..0f93c22a479f 100644 --- 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;