diff mbox series

[v2,-next] gpio: convert comma to semicolon

Message ID 20210108092334.19101-1-zhengyongjun3@huawei.com
State New
Headers show
Series [v2,-next] gpio: convert comma to semicolon | expand

Commit Message

Zheng Yongjun Jan. 8, 2021, 9:23 a.m. UTC
Replace a comma between expression statements by a semicolon.

Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com>
---
 drivers/gpio/gpio-mc33880.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Bartosz Golaszewski Jan. 11, 2021, 10:11 a.m. UTC | #1
On Fri, Jan 8, 2021 at 10:23 AM Zheng Yongjun <zhengyongjun3@huawei.com> wrote:
>

> Replace a comma between expression statements by a semicolon.

>

> Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com>

> ---

>  drivers/gpio/gpio-mc33880.c | 2 +-

>  1 file changed, 1 insertion(+), 1 deletion(-)

>

> diff --git a/drivers/gpio/gpio-mc33880.c b/drivers/gpio/gpio-mc33880.c

> index f8194f7c6186..704cd4e6171f 100644

> --- a/drivers/gpio/gpio-mc33880.c

> +++ b/drivers/gpio/gpio-mc33880.c

> @@ -99,7 +99,7 @@ static int mc33880_probe(struct spi_device *spi)

>

>         mc->spi = spi;

>

> -       mc->chip.label = DRIVER_NAME,

> +       mc->chip.label = DRIVER_NAME;

>         mc->chip.set = mc33880_set;

>         mc->chip.base = pdata->base;

>         mc->chip.ngpio = PIN_NUMBER;

> --

> 2.22.0

>


Why does the tag mention -next when this has been like this for a long
time? The subject should also be: gpio: <driver name>: something
something.

Bartosz
diff mbox series

Patch

diff --git a/drivers/gpio/gpio-mc33880.c b/drivers/gpio/gpio-mc33880.c
index f8194f7c6186..704cd4e6171f 100644
--- a/drivers/gpio/gpio-mc33880.c
+++ b/drivers/gpio/gpio-mc33880.c
@@ -99,7 +99,7 @@  static int mc33880_probe(struct spi_device *spi)
 
 	mc->spi = spi;
 
-	mc->chip.label = DRIVER_NAME,
+	mc->chip.label = DRIVER_NAME;
 	mc->chip.set = mc33880_set;
 	mc->chip.base = pdata->base;
 	mc->chip.ngpio = PIN_NUMBER;