diff mbox series

[3/6] mmc: sdhci-bcm-kona: Drop unused includes

Message ID 20190205200512.11572-3-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> or <linux/of_gpio.h> so drop these
surplus includes.

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-bcm-kona.c | 2 --
 1 file changed, 2 deletions(-)

-- 
2.20.1

Comments

Adrian Hunter Feb. 7, 2019, 11:40 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> or <linux/of_gpio.h> so drop these

> surplus includes.

> 

> 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-bcm-kona.c | 2 --

>  1 file changed, 2 deletions(-)

> 

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

> index bdbd4897c0f7..a6c2bd202b45 100644

> --- a/drivers/mmc/host/sdhci-bcm-kona.c

> +++ b/drivers/mmc/host/sdhci-bcm-kona.c

> @@ -18,12 +18,10 @@

>  #include <linux/platform_device.h>

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

>  #include <linux/io.h>

> -#include <linux/gpio.h>

>  #include <linux/clk.h>

>  #include <linux/regulator/consumer.h>

>  #include <linux/of.h>

>  #include <linux/of_device.h>

> -#include <linux/of_gpio.h>

>  #include <linux/mmc/slot-gpio.h>

>  

>  #include "sdhci-pltfm.h"

>
diff mbox series

Patch

diff --git a/drivers/mmc/host/sdhci-bcm-kona.c b/drivers/mmc/host/sdhci-bcm-kona.c
index bdbd4897c0f7..a6c2bd202b45 100644
--- a/drivers/mmc/host/sdhci-bcm-kona.c
+++ b/drivers/mmc/host/sdhci-bcm-kona.c
@@ -18,12 +18,10 @@ 
 #include <linux/platform_device.h>
 #include <linux/mmc/host.h>
 #include <linux/io.h>
-#include <linux/gpio.h>
 #include <linux/clk.h>
 #include <linux/regulator/consumer.h>
 #include <linux/of.h>
 #include <linux/of_device.h>
-#include <linux/of_gpio.h>
 #include <linux/mmc/slot-gpio.h>
 
 #include "sdhci-pltfm.h"