aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Walleij <[email protected]>2023-08-08 15:46:34 +0200
committerMark Brown <[email protected]>2023-08-08 15:23:14 +0100
commit2e903eac35ec0ea1f44af5a53d87d98309295fc3 (patch)
treebbf8106accd58e42a796d2a3103bb1c82358d239
parent4eb351fb89d68efeaca3625dccbbf492f5450801 (diff)
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
-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>