aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/regulator
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2023-08-08 15:46:38 +0200
committerMark Brown <broonie@kernel.org>2023-08-08 15:23:18 +0100
commitf321708da4db6b15a8691dc64b2d5169234937bc (patch)
tree6c693245d45d59908b1ff226661146d76b7f0d9d /drivers/regulator
parenta5c9a1444088099c6d52939ed2f34049d5d00b5f (diff)
downloadlinux-f321708da4db6b15a8691dc64b2d5169234937bc.tar.gz
regulator: bd71815: Drop useless header
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>
Diffstat (limited to 'drivers/regulator')
-rw-r--r--drivers/regulator/bd71815-regulator.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/regulator/bd71815-regulator.c b/drivers/regulator/bd71815-regulator.c
index 475b1e0110e7c..26192d55a6858 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>