diff --git a/drivers/pinctrl/qcom/pinctrl-msm.c b/drivers/pinctrl/qcom/pinctrl-msm.c index 059c5deb32d9..5d6f9f61ce02 100644 --- a/drivers/pinctrl/qcom/pinctrl-msm.c +++ b/drivers/pinctrl/qcom/pinctrl-msm.c @@ -1174,16 +1174,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; } diff --git a/drivers/pinctrl/qcom/pinctrl-msm.h b/drivers/pinctrl/qcom/pinctrl-msm.h index 3ebf9493ad69..9452da18a78b 100644 --- a/drivers/pinctrl/qcom/pinctrl-msm.h +++ b/drivers/pinctrl/qcom/pinctrl-msm.h @@ -5,8 +5,6 @@ #ifndef __PINCTRL_MSM_H__ #define __PINCTRL_MSM_H__ -#include - struct pinctrl_pin_desc; /**