[1/7] gpio: twl4030: Include the right header

Message ID 20180903081556.1411-1-linus.walleij@linaro.org
State New
Headers show
Series
  • [1/7] gpio: twl4030: Include the right header
Related show

Commit Message

Linus Walleij Sept. 3, 2018, 8:15 a.m.
This is a GPIO driver so include only <linux/gpio/driver.h>.

Cc: Tony Lindgren <tony@atomide.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

---
 drivers/gpio/gpio-twl4030.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.17.1

Comments

Tony Lindgren Sept. 7, 2018, 3:53 p.m. | #1
* Linus Walleij <linus.walleij@linaro.org> [180903 08:22]:
> This is a GPIO driver so include only <linux/gpio/driver.h>.


All the 7 patches in this series look nice to me:

Acked-by: Tony Lindgren <tony@atomide.com>

Patch

diff --git a/drivers/gpio/gpio-twl4030.c b/drivers/gpio/gpio-twl4030.c
index 9b511df5450e..50b17814bd91 100644
--- a/drivers/gpio/gpio-twl4030.c
+++ b/drivers/gpio/gpio-twl4030.c
@@ -30,7 +30,7 @@ 
 #include <linux/interrupt.h>
 #include <linux/kthread.h>
 #include <linux/irq.h>
-#include <linux/gpio.h>
+#include <linux/gpio/driver.h>
 #include <linux/platform_device.h>
 #include <linux/of.h>
 #include <linux/irqdomain.h>