Re: [PATCH] irqchip: madera: Drop GPIO includes

From: Richard Fitzgerald
Date: Fri Jan 04 2019 - 08:29:42 EST


On 03/01/19 10:26, Linus Walleij wrote:
This irqchip does not use anything GPIO-related so drop
the GPIO includes.


An older version did some stuff with GPIOs but when that code was removed
this include obviously was forgotten.

Cc: Richard Fitzgerald <rf@xxxxxxxxxxxxxxxxxxxxx>
Signed-off-by: Linus Walleij <linus.walleij@xxxxxxxxxx>
---
drivers/irqchip/irq-madera.c | 2 --
1 file changed, 2 deletions(-)

diff --git a/drivers/irqchip/irq-madera.c b/drivers/irqchip/irq-madera.c
index e9256dee1a45..8b81271c823c 100644
--- a/drivers/irqchip/irq-madera.c
+++ b/drivers/irqchip/irq-madera.c
@@ -7,7 +7,6 @@
*/
#include <linux/module.h>
-#include <linux/gpio.h>
#include <linux/interrupt.h>
#include <linux/irq.h>
#include <linux/irqdomain.h>
@@ -16,7 +15,6 @@
#include <linux/slab.h>
#include <linux/of.h>
#include <linux/of_device.h>
-#include <linux/of_gpio.h>
#include <linux/of_irq.h>
#include <linux/irqchip/irq-madera.h>
#include <linux/mfd/madera/core.h>


Acked-by: Richard Fitzgerald <rf@xxxxxxxxxxxxxxxxxxxxx>