diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2019-06-14 10:12:26 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2019-06-14 10:16:16 +0200 |
commit | 4892d3a6a009f7eba2e806b9183e5d8790769f41 (patch) | |
tree | d33a8cf0ed99b8d0f1b95bae464162cd78e89c70 /include/linux/gpio | |
parent | 9a82ee69ee938c04f8ea4fe5d3e44565377122b8 (diff) | |
download | linux-4892d3a6a009f7eba2e806b9183e5d8790769f41.tar.gz linux-4892d3a6a009f7eba2e806b9183e5d8790769f41.tar.bz2 linux-4892d3a6a009f7eba2e806b9183e5d8790769f41.zip |
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>
Diffstat (limited to 'include/linux/gpio')
-rw-r--r-- | include/linux/gpio/driver.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/linux/gpio/driver.h b/include/linux/gpio/driver.h index 937c40fb61f7..02698c0f34ea 100644 --- a/include/linux/gpio/driver.h +++ b/include/linux/gpio/driver.h @@ -103,13 +103,6 @@ struct gpio_irq_chip { unsigned int num_parents; /** - * @parent_irq: - * - * For use by gpiochip_set_cascaded_irqchip() - */ - unsigned int parent_irq; - - /** * @parents: * * A list of interrupt parents of a GPIO chip. This is owned by the |