summaryrefslogtreecommitdiffstats
path: root/drivers/regulator/mcp16502.c
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2023-08-08 15:46:34 +0200
committerMark Brown <broonie@kernel.org>2023-08-08 16:23:14 +0200
commit2e903eac35ec0ea1f44af5a53d87d98309295fc3 (patch)
treebbf8106accd58e42a796d2a3103bb1c82358d239 /drivers/regulator/mcp16502.c
parentregulator: mt6311: Drop useless header (diff)
downloadlinux-2e903eac35ec0ea1f44af5a53d87d98309295fc3.tar.xz
linux-2e903eac35ec0ea1f44af5a53d87d98309295fc3.zip
regulator: mcp16502: Drop useless header
The mcp16502 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-7-939b5e84dd18@linaro.org Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator/mcp16502.c')
-rw-r--r--drivers/regulator/mcp16502.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/regulator/mcp16502.c b/drivers/regulator/mcp16502.c
index 6c6f5a21362b..7a472a2ef48a 100644
--- a/drivers/regulator/mcp16502.c
+++ b/drivers/regulator/mcp16502.c
@@ -8,7 +8,6 @@
//
// Inspired from tps65086-regulator.c
-#include <linux/gpio.h>
#include <linux/i2c.h>
#include <linux/init.h>
#include <linux/kernel.h>