]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: Drop the parent_irq from gpio_irq_chip
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 14 Jun 2019 08:12:26 +0000 (10:12 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 14 Jun 2019 08:16:16 +0000 (10:16 +0200)
commit13141372b3c4bde7e2c5eef0c02c0b49cadba785
treed33a8cf0ed99b8d0f1b95bae464162cd78e89c70
parent4ac710aeedee016df792a9c4153f6788b7a6cbac
gpio: Drop the parent_irq from gpio_irq_chip

We already have an array named "parents" so instead
of letting one point to the other, simply allocate a
dynamic array to hold the parents, just one if desired
and drop the number of members in gpio_irq_chip by
1. Rename gpiochip to gc in the process.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpiolib.c
include/linux/gpio/driver.h