gpiolib: drop irq_base field from gpio_chip struct
authorGrygorii Strashko <grygorii.strashko@ti.com>
Mon, 9 Oct 2017 22:16:05 +0000 (17:16 -0500)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 19 Oct 2017 20:32:37 +0000 (22:32 +0200)
Hence, the last user of irq_base field was removed by commit b4c495f03ae3
("gpio: mockup: use irq_sim") it can be removed safely.

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
include/linux/gpio/driver.h

index c97f832..6bbda87 100644 (file)
@@ -83,7 +83,6 @@ struct module;
  * @irqchip: GPIO IRQ chip impl, provided by GPIO driver
  * @irqdomain: Interrupt translation domain; responsible for mapping
  *     between GPIO hwirq number and linux irq number
- * @irq_base: first linux IRQ number assigned to GPIO IRQ chip (deprecated)
  * @irq_handler: the irq handler to use (often a predefined irq core function)
  *     for GPIO IRQs, provided by GPIO driver
  * @irq_default_type: default IRQ triggering type applied during GPIO driver
@@ -165,7 +164,6 @@ struct gpio_chip {
         */
        struct irq_chip         *irqchip;
        struct irq_domain       *irqdomain;
-       unsigned int            irq_base;
        irq_flow_handler_t      irq_handler;
        unsigned int            irq_default_type;
        unsigned int            irq_chained_parent;