Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp745087imw; Mon, 4 Jul 2022 19:27:22 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sfNx10ivWWHWMJTcX4bE9ya72fPwJl5Gx9qRAlD9rGa7tKqazNziXlz56QtIY2TMm2bEaG X-Received: by 2002:a17:907:d17:b0:726:a3be:bba4 with SMTP id gn23-20020a1709070d1700b00726a3bebba4mr31402965ejc.584.1656988042414; Mon, 04 Jul 2022 19:27:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656988042; cv=none; d=google.com; s=arc-20160816; b=kYRnJUGaAQlUkmG4uUuPFeO5/V7lDlUwUgokIJO/zr84OTi7ZZ1z/A/usWWTHlJdev mtKOsaOWps6h8D8qeiYX6ZHjktiVPzbnEXEH5FUDUg/frtb8oQQf7MzzEuAT7/Ix7uEW QzF72A7GVp/ku+AL0dBXQJYegL0V4TLevd+7VXbBY9nrg6+X3jhOjf8Ltdzxzl4B4Nfq aJaT5iTjanHKLlDl7bQOnYgypBuSoQLA/Ak9H3PafEEcuM+Lbi/DdrC/rgOT73is3a5m vT6PbwgK+UUYSIpMPCBQ628jVgWmd1VhkDT4CFuL1u4ok7XPYd4oCPlLiy1omNFSMKMl 25cQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=O1i6DCT6lxOLIfcRdG/a62aFql9B5m+DE/hMqxI6kXg=; b=bu8qKNxgxNGHRTmko23WzuOmRNaGCaSdJr/FIoyB+36O0gC24BCgTCs5aCfFTjtZL8 nBYTNkXcOCcMxnbtbmFD/lyTvV4pfmtlWgwu8id406Q0lzyfJmDE3e2TpmWHAaIrwY4b IeSxTgueHiLnKH2mgdHgJvw6/Cmwd47cset2or4G+iKRWvN8mxQ00SBzqNto6IZ4ukQE Un2N7AHSp102kD+ZqMyHUAFgneoPpLxhqJB6lnqZ41e1TKw65UwnREeWMlMOiVd7XubL Ldv47IRPt23gpCEUcW8wLGQdbuheZ2FfFI6BbZzO1g7QJ5xZ5xGtPR3O9sagXJ5qXbAB xkkA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n4-20020a509344000000b0042ddac25209si21776449eda.92.2022.07.04.19.26.58; Mon, 04 Jul 2022 19:27:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234010AbiGEBuo (ORCPT + 99 others); Mon, 4 Jul 2022 21:50:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33140 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230179AbiGEBun (ORCPT ); Mon, 4 Jul 2022 21:50:43 -0400 Received: from out30-133.freemail.mail.aliyun.com (out30-133.freemail.mail.aliyun.com [115.124.30.133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 93CB9BF78; Mon, 4 Jul 2022 18:50:41 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R701e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046060;MF=yang.lee@linux.alibaba.com;NM=1;PH=DS;RN=6;SR=0;TI=SMTPD_---0VIPTwml_1656985838; Received: from localhost(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0VIPTwml_1656985838) by smtp.aliyun-inc.com; Tue, 05 Jul 2022 09:50:39 +0800 From: Yang Li To: linus.walleij@linaro.org Cc: geert+renesas@glider.be, linux-renesas-soc@vger.kernel.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, Yang Li Subject: [PATCH -next] pinctrl: renesas: remove unneeded semicolon Date: Tue, 5 Jul 2022 09:50:36 +0800 Message-Id: <20220705015036.106937-1-yang.lee@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-9.9 required=5.0 tests=BAYES_00, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY,USER_IN_DEF_SPF_WL autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Eliminate the following coccicheck warnings: ./drivers/pinctrl/renesas/pinctrl-rzv2m.c:487:3-4: Unneeded semicolon ./drivers/pinctrl/renesas/pinctrl-rzv2m.c:519:3-4: Unneeded semicolon ./drivers/pinctrl/renesas/pinctrl-rzv2m.c:591:4-5: Unneeded semicolon ./drivers/pinctrl/renesas/pinctrl-rzv2m.c:620:4-5: Unneeded semicolon Signed-off-by: Yang Li --- drivers/pinctrl/renesas/pinctrl-rzv2m.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/pinctrl/renesas/pinctrl-rzv2m.c b/drivers/pinctrl/renesas/pinctrl-rzv2m.c index 1afc6bb4386a..e8c18198bebd 100644 --- a/drivers/pinctrl/renesas/pinctrl-rzv2m.c +++ b/drivers/pinctrl/renesas/pinctrl-rzv2m.c @@ -484,7 +484,7 @@ static int rzv2m_pinctrl_pinconf_get(struct pinctrl_dev *pctldev, break; default: bias = PIN_CONFIG_BIAS_DISABLE; - }; + } if (bias != param) return -EINVAL; @@ -516,7 +516,7 @@ static int rzv2m_pinctrl_pinconf_get(struct pinctrl_dev *pctldev, break; default: return -EINVAL; - }; + } break; @@ -588,7 +588,7 @@ static int rzv2m_pinctrl_pinconf_set(struct pinctrl_dev *pctldev, break; default: val = 1; - }; + } rzv2m_rmw_pin_config(pctrl, PUPD(port), bit, PUPD_MASK, val); break; @@ -617,7 +617,7 @@ static int rzv2m_pinctrl_pinconf_set(struct pinctrl_dev *pctldev, break; default: return -EINVAL; - }; + } for (index = 0; index < 4; index++) { if (arg == drv_strengths[index]) -- 2.20.1.7.g153144c