linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 01/12] gpio: 74x174: Include proper headers
@ 2018-01-19  6:40 Linus Walleij
  2018-01-19  6:40 ` [PATCH 02/12] gpio: adp5520: Include proper header Linus Walleij
                   ` (10 more replies)
  0 siblings, 11 replies; 13+ messages in thread
From: Linus Walleij @ 2018-01-19  6:40 UTC (permalink / raw)
  To: linux-gpio; +Cc: Linus Walleij

This driver has no business including <linux/gpio.h> or
<linux/of_gpio.h>. Cut them and include <linux/gpio/driver.h>
and <linux/gpio/consumer.h> which is it they really needs.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
 drivers/gpio/gpio-74x164.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/gpio/gpio-74x164.c b/drivers/gpio/gpio-74x164.c
index 6b535ec858cc..3c25f504a784 100644
--- a/drivers/gpio/gpio-74x164.c
+++ b/drivers/gpio/gpio-74x164.c
@@ -9,12 +9,11 @@
  *  published by the Free Software Foundation.
  */
 
-#include <linux/gpio/consumer.h>
 #include <linux/init.h>
 #include <linux/mutex.h>
 #include <linux/spi/spi.h>
-#include <linux/gpio.h>
-#include <linux/of_gpio.h>
+#include <linux/gpio/driver.h>
+#include <linux/gpio/consumer.h>
 #include <linux/slab.h>
 #include <linux/module.h>
 
-- 
2.14.3


^ permalink raw reply related	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2018-01-22  8:31 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-19  6:40 [PATCH 01/12] gpio: 74x174: Include proper headers Linus Walleij
2018-01-19  6:40 ` [PATCH 02/12] gpio: adp5520: Include proper header Linus Walleij
2018-01-19  6:40 ` [PATCH 03/12] gpio: adp5588: " Linus Walleij
2018-01-19  6:40 ` [PATCH 04/12] gpio: altera: Include GPIO driver header Linus Walleij
2018-01-19  6:40 ` [PATCH 05/12] gpio: amd8111: Include proper header Linus Walleij
2018-01-19  6:40 ` [PATCH 06/12] gpio: arizona: " Linus Walleij
2018-01-19  6:40 ` [PATCH 07/12] gpio: bcm-kona: " Linus Walleij
2018-01-19  6:40 ` [PATCH 08/12] gpio: bt8xx: " Linus Walleij
2018-01-19  6:40 ` [PATCH 09/12] gpio: crystalcove: " Linus Walleij
2018-01-19  6:40 ` [PATCH 10/12] gpio: cs5535: " Linus Walleij
2018-01-19  6:40 ` [PATCH 11/12] gpio: da905x: " Linus Walleij
2018-01-19  6:40 ` [PATCH 12/12] gpio: davinci: " Linus Walleij
2018-01-22  8:31   ` Keerthy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).