OSDN Git Service

qcom: spmi-gpio: convert to hierarchical IRQ helpers in gpio core
authorBrian Masney <masneyb@onstation.org>
Thu, 8 Aug 2019 12:32:39 +0000 (14:32 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 15 Aug 2019 07:44:19 +0000 (09:44 +0200)
commit821c76c4c374adf0c7a7608ee4661aa801f3c1c5
tree93e1c6cf79174d4d9460c4cbc1ae86f595be0fd3
parentaa7d618ac65fb10697972549efc38d606595afc7
qcom: spmi-gpio: convert to hierarchical IRQ helpers in gpio core

Now that the GPIO core has support for hierarchical IRQ chips, convert
Qualcomm's spmi-gpio over to use these new helpers to reduce duplicated
code across drivers.

This change was tested on a LG Nexus 5 (hammerhead) phone.

Signed-off-by: Brian Masney <masneyb@onstation.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20190808123242.5359-3-linus.walleij@linaro.org
drivers/pinctrl/qcom/Kconfig
drivers/pinctrl/qcom/pinctrl-spmi-gpio.c