aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/gpio
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2019-06-14 10:12:26 +0200
committerLinus Walleij <linus.walleij@linaro.org>2019-06-14 10:16:16 +0200
commit4892d3a6a009f7eba2e806b9183e5d8790769f41 (patch)
treed33a8cf0ed99b8d0f1b95bae464162cd78e89c70 /include/linux/gpio
parentgpio: Add GPIOLIB_IRQCHIP cleanup to TODO (diff)
downloadwireguard-linux-4892d3a6a009f7eba2e806b9183e5d8790769f41.tar.xz
wireguard-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.h7
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