gpio: omap: initialize gpioirq chip as part of gpiochip_add_data
authorGrygorii Strashko <grygorii.strashko@ti.com>
Wed, 15 Nov 2017 18:36:33 +0000 (12:36 -0600)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 30 Nov 2017 09:54:16 +0000 (10:54 +0100)
commit8193032821d6badd6dc80e805c9e2af48e84ef7c
treecd49a808e49e07683ec8bae211b11535da10b0ed
parent588fc3bceaf81bbd62e18af6f7bd475e01c2b7e8
gpio: omap: initialize gpioirq chip as part of gpiochip_add_data

Hence, series from Thierry Reding [1] merged - the OMAP GPIO driver can be
switched to reuse new feature and just fill new struct gpio_irq_chip before
calling gpiochip_add_data() instead of using few separate gpioirq chip
APIs. gpiochip_add_data() will do the job and create and initialize gpioirq
chip

[1] https://www.mail-archive.com/linux-kernel@vger.kernel.org/msg1531592.html

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-omap.c