mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 07:37:31 -04:00
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:
parent
11b286fb73
commit
68f362a932
1 changed files with 0 additions and 10 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue