All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH SoC-next] pinctrl: starfive: remove unneeded semicolon
@ 2021-12-22  7:35 Yang Li
  2021-12-22 11:13 ` Emil Renner Berthing
  0 siblings, 1 reply; 2+ messages in thread
From: Yang Li @ 2021-12-22  7:35 UTC (permalink / raw)
  To: kernel; +Cc: linus.walleij, linux-gpio, linux-kernel, Yang Li, Abaci Robot

Eliminate the following coccicheck warning:
./drivers/pinctrl/pinctrl-starfive.c:1026: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(-)

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;
-- 
2.20.1.7.g153144c


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH SoC-next] pinctrl: starfive: remove unneeded semicolon
  2021-12-22  7:35 [PATCH SoC-next] pinctrl: starfive: remove unneeded semicolon Yang Li
@ 2021-12-22 11:13 ` Emil Renner Berthing
  0 siblings, 0 replies; 2+ messages in thread
From: Emil Renner Berthing @ 2021-12-22 11:13 UTC (permalink / raw)
  To: Yang Li
  Cc: Linus Walleij, open list:GPIO SUBSYSTEM,
	Linux Kernel Mailing List, Abaci Robot

On Wed, 22 Dec 2021 at 08:35, Yang Li <yang.lee@linux.alibaba.com> wrote:
>
> Eliminate the following coccicheck warning:
> ./drivers/pinctrl/pinctrl-starfive.c:1026:2-3: Unneeded semicolon
>
> Reported-by: Abaci Robot <abaci@linux.alibaba.com>
> Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>

Reviewed-by: Emil Renner Berthing <kernel@esmil.dk>

Thanks!
/Emil

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-12-22 11:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-22  7:35 [PATCH SoC-next] pinctrl: starfive: remove unneeded semicolon Yang Li
2021-12-22 11:13 ` Emil Renner Berthing

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.