Commit c35e7790 authored by Patrice Chotard's avatar Patrice Chotard Committed by Linus Walleij

pinctrl: st: don't specify default interrupt trigger

Thanks to 332e99d5 which now alerts of default
trigger usage when configuring interrupts.
Signed-off-by: default avatarPatrice Chotard <patrice.chotard@st.com>
Acked-by: default avatarPeter Griffin <peter.griffin@linaro.org>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 091c531b
...@@ -1512,7 +1512,7 @@ static int st_gpiolib_register_bank(struct st_pinctrl *info, ...@@ -1512,7 +1512,7 @@ static int st_gpiolib_register_bank(struct st_pinctrl *info,
if (info->irqmux_base || gpio_irq > 0) { if (info->irqmux_base || gpio_irq > 0) {
err = gpiochip_irqchip_add(&bank->gpio_chip, &st_gpio_irqchip, err = gpiochip_irqchip_add(&bank->gpio_chip, &st_gpio_irqchip,
0, handle_simple_irq, 0, handle_simple_irq,
IRQ_TYPE_LEVEL_LOW); IRQ_TYPE_NONE);
if (err) { if (err) {
gpiochip_remove(&bank->gpio_chip); gpiochip_remove(&bank->gpio_chip);
dev_info(dev, "could not add irqchip\n"); dev_info(dev, "could not add irqchip\n");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment