pinctrl: qcom: Pass irqchip when adding gpiochip
authorLinus Walleij <linus.walleij@linaro.org>
Wed, 24 Jul 2019 08:38:28 +0000 (10:38 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Sun, 28 Jul 2019 22:43:25 +0000 (00:43 +0200)
commit0ce242ad2ec17ddab1e3e3185b33c78f70df080a
treed2c4fc81d42068ebd20a091c379b0c10e8735fc9
parentb3a2b136011ef567f2b9cf55f559f38816c8a64d
pinctrl: qcom: Pass irqchip when adding gpiochip

We need to convert all old gpio irqchips to pass the irqchip
setup along when adding the gpio_chip.

For chained irqchips this is a pretty straight-forward
conversion.

Cc: Thierry Reding <treding@nvidia.com>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Co-developed-by: Lina Iyer <ilina@codeaurora.org>
Link: https://lore.kernel.org/r/20190724083828.7496-1-linus.walleij@linaro.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/qcom/pinctrl-msm.c