[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220705015036.106937-1-yang.lee@linux.alibaba.com>
Date: Tue, 5 Jul 2022 09:50:36 +0800
From: Yang Li <yang.lee@...ux.alibaba.com>
To: linus.walleij@...aro.org
Cc: geert+renesas@...der.be, linux-renesas-soc@...r.kernel.org,
linux-gpio@...r.kernel.org, linux-kernel@...r.kernel.org,
Yang Li <yang.lee@...ux.alibaba.com>
Subject: [PATCH -next] pinctrl: renesas: remove unneeded semicolon
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 <yang.lee@...ux.alibaba.com>
---
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
Powered by blists - more mailing lists