2019-01-07 19:56:07

by Souptick Joarder

[permalink] [raw]
Subject: [PATCH] arm/mach-sa1100/simpad.c: Remove duplicate header

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

Signed-off-by: Souptick Joarder <[email protected]>
---
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



2019-01-17 03:40:52

by Souptick Joarder

[permalink] [raw]
Subject: Re: [PATCH] arm/mach-sa1100/simpad.c: Remove duplicate header

On Mon, Jan 7, 2019 at 10:45 PM Souptick Joarder <[email protected]> wrote:
>
> Remove linux/gpio/machine.h which is included more than once.
>
> Signed-off-by: Souptick Joarder <[email protected]>

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
>

2019-01-21 13:45:30

by Linus Walleij

[permalink] [raw]
Subject: Re: [PATCH] arm/mach-sa1100/simpad.c: Remove duplicate header

On Mon, Jan 7, 2019 at 6:15 PM Souptick Joarder <[email protected]> wrote:

> Remove linux/gpio/machine.h which is included more than once.
>
> Signed-off-by: Souptick Joarder <[email protected]>

Patch applied as random cleanup to the GPIO tree.

Yours,
Linus Walleij