diff mbox series

[-next] pinctrl: starfive: remove unneeded semicolon

Message ID 20211220062406.108789-1-yang.lee@linux.alibaba.com
State Superseded
Headers show
Series [-next] pinctrl: starfive: remove unneeded semicolon | expand

Commit Message

Yang Li Dec. 20, 2021, 6:24 a.m. UTC
Eliminate the following coccicheck warning:
./drivers/pinctrl/pinctrl-starfive.c:1029:2-3: Unneeded semicolon

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
 drivers/pinctrl/pinctrl-starfive.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Linus Walleij Dec. 22, 2021, 2:16 a.m. UTC | #1
On Mon, Dec 20, 2021 at 7:24 AM Yang Li <yang.lee@linux.alibaba.com> wrote:

> Eliminate the following coccicheck warning:
> ./drivers/pinctrl/pinctrl-starfive.c:1029:2-3: Unneeded semicolon
>
> Reported-by: Abaci Robot <abaci@linux.alibaba.com>
> Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>

This patch is not in the pinctrl tree, I guess it is in the SoC
tree and need to be applied there.

Yours,
Linus Walleij
diff mbox series

Patch

diff --git a/drivers/pinctrl/pinctrl-starfive.c b/drivers/pinctrl/pinctrl-starfive.c
index 0b912152a405..ed6c9b36849b 100644
--- a/drivers/pinctrl/pinctrl-starfive.c
+++ b/drivers/pinctrl/pinctrl-starfive.c
@@ -1026,7 +1026,7 @@  static int starfive_gpio_set_config(struct gpio_chip *gc, unsigned int gpio,
 		break;
 	default:
 		return -ENOTSUPP;
-	};
+	}
 
 	starfive_padctl_rmw(sfp, starfive_gpio_to_pin(sfp, gpio), mask, value);
 	return 0;