mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 21:38:32 +08:00
gpio: sl28cpld: convert comma to semicolon
Replace a comma between expression statements by a semicolon. Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com> Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
This commit is contained in:
parent
0521ae0107
commit
aab0508e37
@ -65,13 +65,13 @@ static int sl28cpld_gpio_irq_init(struct platform_device *pdev,
|
|||||||
if (!irq_chip)
|
if (!irq_chip)
|
||||||
return -ENOMEM;
|
return -ENOMEM;
|
||||||
|
|
||||||
irq_chip->name = "sl28cpld-gpio-irq",
|
irq_chip->name = "sl28cpld-gpio-irq";
|
||||||
irq_chip->irqs = sl28cpld_gpio_irqs;
|
irq_chip->irqs = sl28cpld_gpio_irqs;
|
||||||
irq_chip->num_irqs = ARRAY_SIZE(sl28cpld_gpio_irqs);
|
irq_chip->num_irqs = ARRAY_SIZE(sl28cpld_gpio_irqs);
|
||||||
irq_chip->num_regs = 1;
|
irq_chip->num_regs = 1;
|
||||||
irq_chip->status_base = base + GPIO_REG_IP;
|
irq_chip->status_base = base + GPIO_REG_IP;
|
||||||
irq_chip->mask_base = base + GPIO_REG_IE;
|
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;
|
irq_chip->ack_base = base + GPIO_REG_IP;
|
||||||
|
|
||||||
ret = devm_regmap_add_irq_chip_fwnode(dev, dev_fwnode(dev),
|
ret = devm_regmap_add_irq_chip_fwnode(dev, dev_fwnode(dev),
|
||||||
|
Loading…
Reference in New Issue
Block a user