gpiolib: Add support for the irqdomain which doesn't use irq_fwspec as arg
authorKevin Hao <haokexin@gmail.com>
Tue, 14 Jan 2020 08:28:19 +0000 (16:28 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 15 Jan 2020 10:17:44 +0000 (11:17 +0100)
commit242587616710576808dc8d7cdf18cfe0d7bf9831
treef10fd53ed3d6e2a0960dec10667124194ad65a1d
parenta564ac35d60564dd5b509e32afdc04e7aafee40e
gpiolib: Add support for the irqdomain which doesn't use irq_fwspec as arg

Some gpio's parent irqdomain may not use the struct irq_fwspec as
argument, such as msi irqdomain. So rename the callback
populate_parent_fwspec() to populate_parent_alloc_arg() and make it
allocate and populate the specific struct which is needed by the
parent irqdomain.

Signed-off-by: Kevin Hao <haokexin@gmail.com>
Link: https://lore.kernel.org/r/20200114082821.14015-3-haokexin@gmail.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-tegra186.c
drivers/gpio/gpiolib.c
drivers/pinctrl/qcom/pinctrl-spmi-gpio.c
drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c
include/linux/gpio/driver.h