Message ID | 20201216132657.15582-1-zhengyongjun3@huawei.com |
---|---|
State | Accepted |
Commit | aab0508e37c11c0574819ccfb05e14281a240d77 |
Headers | show |
Series | [-next] gpio: convert comma to semicolon | expand |
On Wed, Dec 16, 2020 at 2:26 PM 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-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
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),
Replace a comma between expression statements by a semicolon. Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com> --- drivers/gpio/gpio-sl28cpld.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)