]> git.baikalelectronics.ru Git - kernel.git/commit
pinctrl: qcom: spmi-gpio: fix warning about irq chip reusage
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Thu, 4 Jun 2020 00:28:17 +0000 (03:28 +0300)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 16 Jun 2020 08:19:53 +0000 (10:19 +0200)
commit2f8ba57ccbf9cc4044d514a6d43ddf1e0a6ed1bd
treea50f608dfe07f81af0dfc9d1934a3de76b456f15
parent74a27a5f5a99e6b5adfd790053b6cccac3270c76
pinctrl: qcom: spmi-gpio: fix warning about irq chip reusage

Fix the following warnings caused by reusage of the same irq_chip
instance for all spmi-gpio gpio_irq_chip instances. Instead embed
irq_chip into pmic_gpio_state struct.

gpio gpiochip2: (c440000.qcom,spmi:pmic@2:gpio@c000): detected irqchip that is shared with multiple gpiochips: please fix the driver.
gpio gpiochip3: (c440000.qcom,spmi:pmic@4:gpio@c000): detected irqchip that is shared with multiple gpiochips: please fix the driver.
gpio gpiochip4: (c440000.qcom,spmi:pmic@a:gpio@c000): detected irqchip that is shared with multiple gpiochips: please fix the driver.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Acked-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Link: https://lore.kernel.org/r/20200604002817.667160-1-dmitry.baryshkov@linaro.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/qcom/pinctrl-spmi-gpio.c