]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc80ecd1040931d004c5801444567955792ca7957
treecd49a808e49e07683ec8bae211b11535da10b0ed
parent2c47a9dac755c19e5e9d325738ccf39faaf59c4a
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