diff mbox series

[4/6] mmc: sdhci-pxav2: Drop unused include

Message ID 20190205200512.11572-4-linus.walleij@linaro.org
State Superseded
Headers show
Series [1/6] mmc: mxcmmc: Drop unused includes | expand

Commit Message

Linus Walleij Feb. 5, 2019, 8:05 p.m. UTC
The MXS-MMC driver uses slot GPIO helpers and does not make
any use of <linux/gpio.h> so drop this surplus include.

Cc: Jisheng Zhang <Jisheng.Zhang@synaptics.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

---
 drivers/mmc/host/sdhci-pxav2.c | 1 -
 1 file changed, 1 deletion(-)

-- 
2.20.1

Comments

Adrian Hunter Feb. 7, 2019, 11:41 a.m. UTC | #1
On 5/02/19 10:05 PM, Linus Walleij wrote:
> The MXS-MMC driver uses slot GPIO helpers and does not make

> any use of <linux/gpio.h> so drop this surplus include.

> 

> Cc: Jisheng Zhang <Jisheng.Zhang@synaptics.com>

> Cc: Adrian Hunter <adrian.hunter@intel.com>

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


Acked-by: Adrian Hunter <adrian.hunter@intel.com>


> ---

>  drivers/mmc/host/sdhci-pxav2.c | 1 -

>  1 file changed, 1 deletion(-)

> 

> diff --git a/drivers/mmc/host/sdhci-pxav2.c b/drivers/mmc/host/sdhci-pxav2.c

> index 2c3827f54927..cdc8e16b4567 100644

> --- a/drivers/mmc/host/sdhci-pxav2.c

> +++ b/drivers/mmc/host/sdhci-pxav2.c

> @@ -23,7 +23,6 @@

>  #include <linux/clk.h>

>  #include <linux/module.h>

>  #include <linux/io.h>

> -#include <linux/gpio.h>

>  #include <linux/mmc/card.h>

>  #include <linux/mmc/host.h>

>  #include <linux/platform_data/pxa_sdhci.h>

>
diff mbox series

Patch

diff --git a/drivers/mmc/host/sdhci-pxav2.c b/drivers/mmc/host/sdhci-pxav2.c
index 2c3827f54927..cdc8e16b4567 100644
--- a/drivers/mmc/host/sdhci-pxav2.c
+++ b/drivers/mmc/host/sdhci-pxav2.c
@@ -23,7 +23,6 @@ 
 #include <linux/clk.h>
 #include <linux/module.h>
 #include <linux/io.h>
-#include <linux/gpio.h>
 #include <linux/mmc/card.h>
 #include <linux/mmc/host.h>
 #include <linux/platform_data/pxa_sdhci.h>