diff mbox series

regulator: arizona-micsupp: Delete unused include

Message ID 20190531230252.6541-1-linus.walleij@linaro.org
State Accepted
Commit 60b909e413dab4d131a6629dce1fb2177d3cc918
Headers show
Series regulator: arizona-micsupp: Delete unused include | expand

Commit Message

Linus Walleij May 31, 2019, 11:02 p.m. UTC
This driver uses no symbols from <linux/gpio.h> so just drop
this include.

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

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

-- 
2.20.1

Comments

Charles Keepax June 3, 2019, 8:37 a.m. UTC | #1
On Sat, Jun 01, 2019 at 01:02:52AM +0200, Linus Walleij wrote:
> This driver uses no symbols from <linux/gpio.h> so just drop

> this include.

> 

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

> ---


Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com>


Thanks,
Charles
diff mbox series

Patch

diff --git a/drivers/regulator/arizona-micsupp.c b/drivers/regulator/arizona-micsupp.c
index be0d46da51a1..4876b1ceef23 100644
--- a/drivers/regulator/arizona-micsupp.c
+++ b/drivers/regulator/arizona-micsupp.c
@@ -16,7 +16,6 @@ 
 #include <linux/regulator/driver.h>
 #include <linux/regulator/machine.h>
 #include <linux/regulator/of_regulator.h>
-#include <linux/gpio.h>
 #include <linux/slab.h>
 #include <linux/workqueue.h>
 #include <sound/soc.h>