diff mbox series

regulator: max77802: Drop unused includes

Message ID 20190609110513.29220-1-linus.walleij@linaro.org
State Accepted
Commit d17adf7d3f5be74bdfda89ceed7bff3910ffb6d4
Headers show
Series regulator: max77802: Drop unused includes | expand

Commit Message

Linus Walleij June 9, 2019, 11:05 a.m. UTC
This driver does not use any symbols from <linux/gpio.h>
no <linux/gpio/consumer.h> so just drop the includes.

Cc: Javier Martinez Canillas <javierm@redhat.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

---
 drivers/regulator/max77802-regulator.c | 2 --
 1 file changed, 2 deletions(-)

-- 
2.20.1
diff mbox series

Patch

diff --git a/drivers/regulator/max77802-regulator.c b/drivers/regulator/max77802-regulator.c
index ea7b50397300..7b8ec8c0bd15 100644
--- a/drivers/regulator/max77802-regulator.c
+++ b/drivers/regulator/max77802-regulator.c
@@ -14,9 +14,7 @@ 
 #include <linux/kernel.h>
 #include <linux/bug.h>
 #include <linux/err.h>
-#include <linux/gpio.h>
 #include <linux/slab.h>
-#include <linux/gpio/consumer.h>
 #include <linux/module.h>
 #include <linux/platform_device.h>
 #include <linux/regulator/driver.h>