Re: [PATCH -next] gpio: convert comma to semicolon
From: Bartosz Golaszewski
Date: Mon Jan 04 2021 - 06:23:09 EST
On Wed, Dec 16, 2020 at 2:26 PM Zheng Yongjun <zhengyongjun3@xxxxxxxxxx> wrote:
>
> Replace a comma between expression statements by a semicolon.
>
> Signed-off-by: Zheng Yongjun <zhengyongjun3@xxxxxxxxxx>
> ---
> drivers/gpio/gpio-sl28cpld.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/gpio/gpio-sl28cpld.c b/drivers/gpio/gpio-sl28cpld.c
> index 889b8f5622c2..52404736ac86 100644
> --- a/drivers/gpio/gpio-sl28cpld.c
> +++ b/drivers/gpio/gpio-sl28cpld.c
> @@ -65,13 +65,13 @@ static int sl28cpld_gpio_irq_init(struct platform_device *pdev,
> if (!irq_chip)
> return -ENOMEM;
>
> - irq_chip->name = "sl28cpld-gpio-irq",
> + irq_chip->name = "sl28cpld-gpio-irq";
> irq_chip->irqs = sl28cpld_gpio_irqs;
> irq_chip->num_irqs = ARRAY_SIZE(sl28cpld_gpio_irqs);
> irq_chip->num_regs = 1;
> irq_chip->status_base = base + GPIO_REG_IP;
> irq_chip->mask_base = base + GPIO_REG_IE;
> - irq_chip->mask_invert = true,
> + irq_chip->mask_invert = true;
> irq_chip->ack_base = base + GPIO_REG_IP;
>
> ret = devm_regmap_add_irq_chip_fwnode(dev, dev_fwnode(dev),
> --
> 2.22.0
>
Applied with a fixed commit message.
Bartosz