2018-11-16 10:50:23

by Brajeswar Ghosh

[permalink] [raw]
Subject: [PATCH] drivers/gpio/gpio-grgpio.c: Remove duplicate header

Remove linux/gpio/driver.h which is included more than once

Signed-off-by: Brajeswar Ghosh <[email protected]>
---
drivers/gpio/gpio-grgpio.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/gpio/gpio-grgpio.c b/drivers/gpio/gpio-grgpio.c
index 60a1556c570a..45b8d6a02b87 100644
--- a/drivers/gpio/gpio-grgpio.c
+++ b/drivers/gpio/gpio-grgpio.c
@@ -30,7 +30,6 @@
#include <linux/gpio/driver.h>
#include <linux/slab.h>
#include <linux/err.h>
-#include <linux/gpio/driver.h>
#include <linux/interrupt.h>
#include <linux/irq.h>
#include <linux/irqdomain.h>
--
2.17.1



2018-11-19 14:11:04

by Linus Walleij

[permalink] [raw]
Subject: Re: [PATCH] drivers/gpio/gpio-grgpio.c: Remove duplicate header

On Fri, Nov 16, 2018 at 11:49 AM Brajeswar Ghosh
<[email protected]> wrote:

> Remove linux/gpio/driver.h which is included more than once
>
> Signed-off-by: Brajeswar Ghosh <[email protected]>

Patch applied!

Thanks.
Linus Walleij