drivers: pinctrl: msm: remove redundant call to set handler

The gpiochip_add_data() sets the chained irq handler for the TLMM
summary line. Remove reundant call to set the handler again.

Change-Id: I230f21fdde880407bf84ac73669457aa062a8236
Signed-off-by: Lina Iyer <ilina@codeaurora.org>
This commit is contained in:
Lina Iyer 2019-11-13 11:35:39 -07:00 • committed by Gerrit - the friendly Code Review server
commit 68f362a932

View file

@ -1192,16 +1192,6 @@ static int msm_gpio_init(struct msm_pinctrl *pctrl)
}
}
/*
* Since we are chained to the GIC using the TLMM summary line
* and in hierarchy with the wakeup parent interrupt controller,
* explicitly set the chained summary line. We need to do this because
* the summary line is not routed to the wakeup parent but directly
* to the GIC.
*/
gpiochip_set_chained_irqchip(chip, &pctrl->irq_chip, pctrl->irq,
msm_gpio_irq_handler);
return 0;
}