From 68f362a932c0c27f2f11d92b75ee52c2eca45095 Mon Sep 17 00:00:00 2001 From: Lina Iyer Date: Wed, 13 Nov 2019 11:35:39 -0700 Subject: [PATCH] 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 --- drivers/pinctrl/qcom/pinctrl-msm.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/drivers/pinctrl/qcom/pinctrl-msm.c b/drivers/pinctrl/qcom/pinctrl-msm.c index 08d53266348d..a45413de6dff 100644 --- a/drivers/pinctrl/qcom/pinctrl-msm.c +++ b/drivers/pinctrl/qcom/pinctrl-msm.c @@ -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; }