diff mbox series

[5/6] mmc: sunxi-mmc: Drop unused includes

Message ID 20190205200512.11572-5-linus.walleij@linaro.org (mailing list archive)
State New, archived
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: Chen-Yu Tsai <wens@csie.org>
Cc: Maxime Ripard <maxime.ripard@bootlin.com>
Cc: Andre Przywara <andre.przywara@arm.com>
Cc: cenowy Zheng <icenowy@aosc.io>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
 drivers/mmc/host/sunxi-mmc.c | 2 --
 1 file changed, 2 deletions(-)

Comments

Maxime Ripard Feb. 6, 2019, 8:17 a.m. UTC | #1
On Tue, Feb 05, 2019 at 09:05:11PM +0100, 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.

That's not MXS-MMC, but otherwise,
Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>

Maxime
diff mbox series

Patch

diff --git a/drivers/mmc/host/sunxi-mmc.c b/drivers/mmc/host/sunxi-mmc.c
index 279e326e397e..8df95422d649 100644
--- a/drivers/mmc/host/sunxi-mmc.c
+++ b/drivers/mmc/host/sunxi-mmc.c
@@ -19,7 +19,6 @@ 
 #include <linux/device.h>
 #include <linux/dma-mapping.h>
 #include <linux/err.h>
-#include <linux/gpio.h>
 #include <linux/interrupt.h>
 #include <linux/io.h>
 #include <linux/kernel.h>
@@ -32,7 +31,6 @@ 
 #include <linux/mmc/slot-gpio.h>
 #include <linux/module.h>
 #include <linux/of_address.h>
-#include <linux/of_gpio.h>
 #include <linux/of_platform.h>
 #include <linux/platform_device.h>
 #include <linux/pm_runtime.h>