regulator: bd71815: Drop useless header
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 8 Aug 2023 13:46:38 +0000 (15:46 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 8 Aug 2023 14:23:18 +0000 (15:23 +0100)
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>
Link: https://lore.kernel.org/r/20230808-descriptors-regulator-v1-11-939b5e84dd18@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/bd71815-regulator.c

index 475b1e0..26192d5 100644 (file)
@@ -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>