gpiolib: drop irq_base field from gpio_chip struct

Message ID 20171009221605.19108-1-grygorii.strashko@ti.com
State New
Headers show
Series
  • gpiolib: drop irq_base field from gpio_chip struct
Related show

Commit Message

Grygorii Strashko Oct. 9, 2017, 10:16 p.m.
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>
---
 include/linux/gpio/driver.h | 1 -
 1 file changed, 1 deletion(-)

Comments

Linus Walleij Oct. 11, 2017, 8:22 a.m. | #1
On Tue, Oct 10, 2017 at 12:16 AM, Grygorii Strashko
<grygorii.strashko@ti.com> wrote:

> 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>

Patch applied. Let's see what the build servers say.

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

diff --git a/include/linux/gpio/driver.h b/include/linux/gpio/driver.h
index c97f832..1de5dd1 100644
--- a/include/linux/gpio/driver.h
+++ b/include/linux/gpio/driver.h
@@ -165,7 +165,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;