2021-01-08 09:27:01

by Zheng Yongjun

[permalink] [raw]
Subject: [PATCH v2 -next] gpio: wcove: convert comma to semicolon

Replace a comma between expression statements by a semicolon.

Signed-off-by: Zheng Yongjun <[email protected]>
---
drivers/gpio/gpio-wcove.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpio/gpio-wcove.c b/drivers/gpio/gpio-wcove.c
index b5fbba5a783a..97c5f1d01b62 100644
--- a/drivers/gpio/gpio-wcove.c
+++ b/drivers/gpio/gpio-wcove.c
@@ -434,7 +434,7 @@ static int wcove_gpio_probe(struct platform_device *pdev)
wg->chip.get_direction = wcove_gpio_get_direction;
wg->chip.get = wcove_gpio_get;
wg->chip.set = wcove_gpio_set;
- wg->chip.set_config = wcove_gpio_set_config,
+ wg->chip.set_config = wcove_gpio_set_config;
wg->chip.base = -1;
wg->chip.ngpio = WCOVE_VGPIO_NUM;
wg->chip.can_sleep = true;
--
2.22.0


2021-01-08 13:58:00

by Andy Shevchenko

[permalink] [raw]
Subject: Re: [PATCH v2 -next] gpio: wcove: convert comma to semicolon

On Fri, Jan 08, 2021 at 05:24:13PM +0800, Zheng Yongjun wrote:
> Replace a comma between expression statements by a semicolon.

Pushed to my review and testing queue, thanks!

> Signed-off-by: Zheng Yongjun <[email protected]>
> ---
> drivers/gpio/gpio-wcove.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpio/gpio-wcove.c b/drivers/gpio/gpio-wcove.c
> index b5fbba5a783a..97c5f1d01b62 100644
> --- a/drivers/gpio/gpio-wcove.c
> +++ b/drivers/gpio/gpio-wcove.c
> @@ -434,7 +434,7 @@ static int wcove_gpio_probe(struct platform_device *pdev)
> wg->chip.get_direction = wcove_gpio_get_direction;
> wg->chip.get = wcove_gpio_get;
> wg->chip.set = wcove_gpio_set;
> - wg->chip.set_config = wcove_gpio_set_config,
> + wg->chip.set_config = wcove_gpio_set_config;
> wg->chip.base = -1;
> wg->chip.ngpio = WCOVE_VGPIO_NUM;
> wg->chip.can_sleep = true;
> --
> 2.22.0
>

--
With Best Regards,
Andy Shevchenko