mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 15:27:29 +00:00
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>
This commit is contained in:
parent
9a82ee69ee
commit
4892d3a6a0
2 changed files with 19 additions and 18 deletions
|
@ -102,13 +102,6 @@ struct gpio_irq_chip {
|
|||
*/
|
||||
unsigned int num_parents;
|
||||
|
||||
/**
|
||||
* @parent_irq:
|
||||
*
|
||||
* For use by gpiochip_set_cascaded_irqchip()
|
||||
*/
|
||||
unsigned int parent_irq;
|
||||
|
||||
/**
|
||||
* @parents:
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue