Message ID | 20190211082604.11013-1-linus.walleij@linaro.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [1/6,v2] mmc: mxcmmc: Drop unused includes | expand |
On Mon, 11 Feb 2019 at 09:26, Linus Walleij <linus.walleij@linaro.org> wrote: > > The MXCMMC 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: Jun Qian <hangdianqj@163.com> > Cc: Matteo Facchinetti <matteo.facchinetti@sirius-es.it> > Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Series applied for next, thanks! Kind regards Uffe > --- > drivers/mmc/host/mxcmmc.c | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/drivers/mmc/host/mxcmmc.c b/drivers/mmc/host/mxcmmc.c > index 4d17032d15ee..d54612257b06 100644 > --- a/drivers/mmc/host/mxcmmc.c > +++ b/drivers/mmc/host/mxcmmc.c > @@ -31,14 +31,12 @@ > #include <linux/delay.h> > #include <linux/clk.h> > #include <linux/io.h> > -#include <linux/gpio.h> > #include <linux/regulator/consumer.h> > #include <linux/dmaengine.h> > #include <linux/types.h> > #include <linux/of.h> > #include <linux/of_device.h> > #include <linux/of_dma.h> > -#include <linux/of_gpio.h> > #include <linux/mmc/slot-gpio.h> > > #include <asm/dma.h> > -- > 2.20.1 >
diff --git a/drivers/mmc/host/mxcmmc.c b/drivers/mmc/host/mxcmmc.c index 4d17032d15ee..d54612257b06 100644 --- a/drivers/mmc/host/mxcmmc.c +++ b/drivers/mmc/host/mxcmmc.c @@ -31,14 +31,12 @@ #include <linux/delay.h> #include <linux/clk.h> #include <linux/io.h> -#include <linux/gpio.h> #include <linux/regulator/consumer.h> #include <linux/dmaengine.h> #include <linux/types.h> #include <linux/of.h> #include <linux/of_device.h> #include <linux/of_dma.h> -#include <linux/of_gpio.h> #include <linux/mmc/slot-gpio.h> #include <asm/dma.h>
The MXCMMC 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: Jun Qian <hangdianqj@163.com> Cc: Matteo Facchinetti <matteo.facchinetti@sirius-es.it> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> --- drivers/mmc/host/mxcmmc.c | 2 -- 1 file changed, 2 deletions(-)