2015-04-16 16:18:53

by Vivien Didelot

[permalink] [raw]
Subject: [PATCH] ARM: gemini: remove unnecessary mdio-gpio includes

Remove the inclusion of linux/mdio-gpio.h in nas4220b, wbd111 and wbd222
boards since mdio-gpio is not used.

Signed-off-by: Vivien Didelot <[email protected]>
---
arch/arm/mach-gemini/board-nas4220b.c | 1 -
arch/arm/mach-gemini/board-wbd111.c | 1 -
arch/arm/mach-gemini/board-wbd222.c | 1 -
3 files changed, 3 deletions(-)

diff --git a/arch/arm/mach-gemini/board-nas4220b.c b/arch/arm/mach-gemini/board-nas4220b.c
index ca8a25b..18b1279 100644
--- a/arch/arm/mach-gemini/board-nas4220b.c
+++ b/arch/arm/mach-gemini/board-nas4220b.c
@@ -18,7 +18,6 @@
#include <linux/leds.h>
#include <linux/input.h>
#include <linux/gpio_keys.h>
-#include <linux/mdio-gpio.h>
#include <linux/io.h>

#include <asm/setup.h>
diff --git a/arch/arm/mach-gemini/board-wbd111.c b/arch/arm/mach-gemini/board-wbd111.c
index 418188c..14c56f3 100644
--- a/arch/arm/mach-gemini/board-wbd111.c
+++ b/arch/arm/mach-gemini/board-wbd111.c
@@ -15,7 +15,6 @@
#include <linux/input.h>
#include <linux/skbuff.h>
#include <linux/gpio_keys.h>
-#include <linux/mdio-gpio.h>
#include <linux/mtd/mtd.h>
#include <linux/mtd/partitions.h>
#include <asm/mach-types.h>
diff --git a/arch/arm/mach-gemini/board-wbd222.c b/arch/arm/mach-gemini/board-wbd222.c
index 266b265..6070282 100644
--- a/arch/arm/mach-gemini/board-wbd222.c
+++ b/arch/arm/mach-gemini/board-wbd222.c
@@ -15,7 +15,6 @@
#include <linux/input.h>
#include <linux/skbuff.h>
#include <linux/gpio_keys.h>
-#include <linux/mdio-gpio.h>
#include <linux/mtd/mtd.h>
#include <linux/mtd/partitions.h>
#include <asm/mach-types.h>
--
2.3.5


2015-04-23 17:01:34

by Hans Ulli Kroll

[permalink] [raw]
Subject: Re: [PATCH] ARM: gemini: remove unnecessary mdio-gpio includes



On Thu, 16 Apr 2015, Vivien Didelot wrote:

> Remove the inclusion of linux/mdio-gpio.h in nas4220b, wbd111 and wbd222
> boards since mdio-gpio is not used.
>
> Signed-off-by: Vivien Didelot <[email protected]>
> ---
> arch/arm/mach-gemini/board-nas4220b.c | 1 -
> arch/arm/mach-gemini/board-wbd111.c | 1 -
> arch/arm/mach-gemini/board-wbd222.c | 1 -
> 3 files changed, 3 deletions(-)
>
> diff --git a/arch/arm/mach-gemini/board-nas4220b.c b/arch/arm/mach-gemini/board-nas4220b.c
> index ca8a25b..18b1279 100644
> --- a/arch/arm/mach-gemini/board-nas4220b.c
> +++ b/arch/arm/mach-gemini/board-nas4220b.c
> @@ -18,7 +18,6 @@
> #include <linux/leds.h>
> #include <linux/input.h>
> #include <linux/gpio_keys.h>
> -#include <linux/mdio-gpio.h>
> #include <linux/io.h>
>
> #include <asm/setup.h>
> diff --git a/arch/arm/mach-gemini/board-wbd111.c b/arch/arm/mach-gemini/board-wbd111.c
> index 418188c..14c56f3 100644
> --- a/arch/arm/mach-gemini/board-wbd111.c
> +++ b/arch/arm/mach-gemini/board-wbd111.c
> @@ -15,7 +15,6 @@
> #include <linux/input.h>
> #include <linux/skbuff.h>
> #include <linux/gpio_keys.h>
> -#include <linux/mdio-gpio.h>
> #include <linux/mtd/mtd.h>
> #include <linux/mtd/partitions.h>
> #include <asm/mach-types.h>
> diff --git a/arch/arm/mach-gemini/board-wbd222.c b/arch/arm/mach-gemini/board-wbd222.c
> index 266b265..6070282 100644
> --- a/arch/arm/mach-gemini/board-wbd222.c
> +++ b/arch/arm/mach-gemini/board-wbd222.c
> @@ -15,7 +15,6 @@
> #include <linux/input.h>
> #include <linux/skbuff.h>
> #include <linux/gpio_keys.h>
> -#include <linux/mdio-gpio.h>
> #include <linux/mtd/mtd.h>
> #include <linux/mtd/partitions.h>
> #include <asm/mach-types.h>
> --
> 2.3.5
>
>

Signed-off-by: Hans Ulli Kroll <[email protected]>