Message ID | 20190205200512.11572-5-linus.walleij@linaro.org |
---|---|
State | Superseded |
Headers | show |
Series | [1/6] mmc: mxcmmc: Drop unused includes | expand |
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 -- Maxime Ripard, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
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>
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(-) -- 2.20.1