All of lore.kernel.org
 help / color / mirror / Atom feed
From: Boris Brezillon <boris.brezillon@bootlin.com>
To: Boris Brezillon <boris.brezillon@bootlin.com>,
	Richard Weinberger <richard@nod.at>,
	Miquel Raynal <miquel.raynal@bootlin.com>,
	linux-mtd@lists.infradead.org,
	David Woodhouse <dwmw2@infradead.org>,
	Brian Norris <computersforpeace@gmail.com>,
	Marek Vasut <marek.vasut@gmail.com>
Subject: [PATCH 2/4] mtd: rawnand: atmel: Stop including gpio.h
Date: Fri, 20 Jul 2018 11:57:39 +0200	[thread overview]
Message-ID: <20180720095741.6313-3-boris.brezillon@bootlin.com> (raw)
In-Reply-To: <20180720095741.6313-1-boris.brezillon@bootlin.com>

gpio/consumer.h defines everything we need, and it's clearly stated in
gpio.h that GPIO consumers should directly stop including gpio.h if they
can.

Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
---
 drivers/mtd/nand/raw/atmel/nand-controller.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/mtd/nand/raw/atmel/nand-controller.c b/drivers/mtd/nand/raw/atmel/nand-controller.c
index 855cc7729c43..4d27401f1299 100644
--- a/drivers/mtd/nand/raw/atmel/nand-controller.c
+++ b/drivers/mtd/nand/raw/atmel/nand-controller.c
@@ -52,7 +52,6 @@
 #include <linux/dma-mapping.h>
 #include <linux/dmaengine.h>
 #include <linux/genalloc.h>
-#include <linux/gpio.h>
 #include <linux/gpio/consumer.h>
 #include <linux/interrupt.h>
 #include <linux/mfd/syscon.h>
-- 
2.14.1

  parent reply	other threads:[~2018-07-20  9:57 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-20  9:57 [PATCH 0/4] mtd: Remove gpio.h inclusions where we can Boris Brezillon
2018-07-20  9:57 ` [PATCH 1/4] mtd: rawnand: sunxi: Remove gpio.h and of_gpio.h inclusions Boris Brezillon
2018-07-20  9:57 ` Boris Brezillon [this message]
2018-07-20  9:57 ` [PATCH 3/4] mtd: rawnand: au1550nd: Remove unneeded gpio.h inclusion Boris Brezillon
2018-07-20  9:57 ` [PATCH 4/4] mtd: spi-nor: atmel-qspi: Include gpio/consumer.h instead of gpio.h Boris Brezillon
2018-07-27  7:48   ` Boris Brezillon
2018-07-26 23:29 ` [PATCH 0/4] mtd: Remove gpio.h inclusions where we can Miquel Raynal
2018-07-26 23:30   ` Miquel Raynal

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180720095741.6313-3-boris.brezillon@bootlin.com \
    --to=boris.brezillon@bootlin.com \
    --cc=computersforpeace@gmail.com \
    --cc=dwmw2@infradead.org \
    --cc=linux-mtd@lists.infradead.org \
    --cc=marek.vasut@gmail.com \
    --cc=miquel.raynal@bootlin.com \
    --cc=richard@nod.at \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.