irqchip: madera: Drop GPIO includes

Message ID 20190103102623.29685-1-linus.walleij@linaro.org
State New
Headers show
Series
  • irqchip: madera: Drop GPIO includes
Related show

Commit Message

Linus Walleij Jan. 3, 2019, 10:26 a.m.
This irqchip does not use anything GPIO-related so drop
the GPIO includes.

Cc: Richard Fitzgerald <rf@opensource.cirrus.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

---
 drivers/irqchip/irq-madera.c | 2 --
 1 file changed, 2 deletions(-)

-- 
2.19.2

Comments

Richard Fitzgerald Jan. 4, 2019, 1:29 p.m. | #1
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@opensource.cirrus.com>

> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

> ---

>   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@opensource.cirrus.com>

Patch

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>