]> asedeno.scripts.mit.edu Git - linux.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)
commit4892d3a6a009f7eba2e806b9183e5d8790769f41
treed33a8cf0ed99b8d0f1b95bae464162cd78e89c70
parent9a82ee69ee938c04f8ea4fe5d3e44565377122b8
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