diff mbox series

regulator: bd70528: Drop unused include

Message ID 20190531230608.7361-1-linus.walleij@linaro.org
State Accepted
Commit 532e9334eb38de50d75b6a0e94832ee9d9975743
Headers show
Series regulator: bd70528: Drop unused include | expand

Commit Message

Linus Walleij May 31, 2019, 11:06 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/bd70528-regulator.c | 1 -
 1 file changed, 1 deletion(-)

-- 
2.20.1

Comments

Vaittinen, Matti June 3, 2019, 5:31 a.m. UTC | #1
Thanks Linus!

On Sat, 2019-06-01 at 01:06 +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/bd70528-regulator.c b/drivers/regulator/bd70528-regulator.c
index 30e3ed430a8a..0248a61f1006 100644
--- a/drivers/regulator/bd70528-regulator.c
+++ b/drivers/regulator/bd70528-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-bd70528.h>