diff mbox series

arm/mach-sa1100/simpad.c: Remove duplicate header

Message ID 20190107171908.GA5246@jordon-HP-15-Notebook-PC (mailing list archive)
State Mainlined, archived
Commit b597c3a939ecc58d69aadd188515fa9549be3144
Headers show
Series arm/mach-sa1100/simpad.c: Remove duplicate header | expand

Commit Message

Souptick Joarder Jan. 7, 2019, 5:19 p.m. UTC
Remove linux/gpio/machine.h which is included more than once.

Signed-off-by: Souptick Joarder <jrdr.linux@gmail.com>
---
 arch/arm/mach-sa1100/simpad.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Souptick Joarder Jan. 16, 2019, 12:31 p.m. UTC | #1
On Mon, Jan 7, 2019 at 10:45 PM Souptick Joarder <jrdr.linux@gmail.com> wrote:
>
> Remove linux/gpio/machine.h which is included more than once.
>
> Signed-off-by: Souptick Joarder <jrdr.linux@gmail.com>

Any comment for this patch ?

> ---
>  arch/arm/mach-sa1100/simpad.c | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/arch/arm/mach-sa1100/simpad.c b/arch/arm/mach-sa1100/simpad.c
> index 406487e..c7fb9a7 100644
> --- a/arch/arm/mach-sa1100/simpad.c
> +++ b/arch/arm/mach-sa1100/simpad.c
> @@ -18,7 +18,6 @@
>  #include <linux/mtd/partitions.h>
>  #include <linux/io.h>
>  #include <linux/gpio/driver.h>
> -#include <linux/gpio/machine.h>
>
>  #include <mach/hardware.h>
>  #include <asm/setup.h>
> --
> 1.9.1
>
Linus Walleij Jan. 21, 2019, 1:43 p.m. UTC | #2
On Mon, Jan 7, 2019 at 6:15 PM Souptick Joarder <jrdr.linux@gmail.com> wrote:

> Remove linux/gpio/machine.h which is included more than once.
>
> Signed-off-by: Souptick Joarder <jrdr.linux@gmail.com>

Patch applied as random cleanup to the GPIO tree.

Yours,
Linus Walleij
diff mbox series

Patch

diff --git a/arch/arm/mach-sa1100/simpad.c b/arch/arm/mach-sa1100/simpad.c
index 406487e..c7fb9a7 100644
--- a/arch/arm/mach-sa1100/simpad.c
+++ b/arch/arm/mach-sa1100/simpad.c
@@ -18,7 +18,6 @@ 
 #include <linux/mtd/partitions.h>
 #include <linux/io.h>
 #include <linux/gpio/driver.h>
-#include <linux/gpio/machine.h>
 
 #include <mach/hardware.h>
 #include <asm/setup.h>