diff mbox series

[11/11] regulator: bd71815: Drop useless header

Message ID 20230808-descriptors-regulator-v1-11-939b5e84dd18@linaro.org (mailing list archive)
State Accepted
Commit f321708da4db6b15a8691dc64b2d5169234937bc
Headers show
Series Regulator legacy GPIO header removal | expand

Commit Message

Linus Walleij Aug. 8, 2023, 1:46 p.m. UTC
The bd71815 regulator driver includes the legacy header
<linux/gpio.h> for no reason, it is already using the proper
<linux/gpio/consumer.h> include. Drop the include.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
 drivers/regulator/bd71815-regulator.c | 1 -
 1 file changed, 1 deletion(-)
diff mbox series

Patch

diff --git a/drivers/regulator/bd71815-regulator.c b/drivers/regulator/bd71815-regulator.c
index 475b1e0110e7..26192d55a685 100644
--- a/drivers/regulator/bd71815-regulator.c
+++ b/drivers/regulator/bd71815-regulator.c
@@ -18,7 +18,6 @@ 
 #include <linux/regulator/driver.h>
 #include <linux/delay.h>
 #include <linux/slab.h>
-#include <linux/gpio.h>
 #include <linux/mfd/rohm-generic.h>
 #include <linux/mfd/rohm-bd71815.h>
 #include <linux/regulator/of_regulator.h>