diff mbox series

regulator: bd718x7: Drop unused include

Message ID 20190531230851.8084-1-linus.walleij@linaro.org
State Accepted
Commit 5cbb1515e75c0b8d328ddce0f5e4ff636334373c
Headers show
Series regulator: bd718x7: Drop unused include | expand

Commit Message

Linus Walleij May 31, 2019, 11:08 p.m. UTC
This driver does not use any symbols from <linux/gpio.h>
so just drop the include.

Cc: Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

---
 drivers/regulator/bd718x7-regulator.c | 1 -
 1 file changed, 1 deletion(-)

-- 
2.20.1

Comments

Vaittinen, Matti June 3, 2019, 5:32 a.m. UTC | #1
And thanks for this too =)

On Sat, 2019-06-01 at 01:08 +0200, Linus Walleij wrote:
> This driver does not use any symbols from <linux/gpio.h>

> so just drop the include.

> 

> Cc: Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com>

> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

Acked-By: Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com>


Br,
	Matti Vaittinen
diff mbox series

Patch

diff --git a/drivers/regulator/bd718x7-regulator.c b/drivers/regulator/bd718x7-regulator.c
index fde4264da6ff..8c22cfb76173 100644
--- a/drivers/regulator/bd718x7-regulator.c
+++ b/drivers/regulator/bd718x7-regulator.c
@@ -4,7 +4,6 @@ 
 
 #include <linux/delay.h>
 #include <linux/err.h>
-#include <linux/gpio.h>
 #include <linux/interrupt.h>
 #include <linux/kernel.h>
 #include <linux/mfd/rohm-bd718x7.h>