summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2023-08-08 16:46:35 +0300
committerMark Brown <broonie@kernel.org>2023-08-08 17:23:15 +0300
commitd150c73aa233d6469392282ef648dba5fd4b4821 (patch)
tree620798998376fbcd43d678340432b8b0174d06cf /drivers
parent2e903eac35ec0ea1f44af5a53d87d98309295fc3 (diff)
downloadlinux-d150c73aa233d6469392282ef648dba5fd4b4821.tar.xz
regulator: max20086: Drop useless header
The max20086 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-8-939b5e84dd18@linaro.org Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/regulator/max20086-regulator.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/regulator/max20086-regulator.c b/drivers/regulator/max20086-regulator.c
index fad31f5f435e..32f47b896fd1 100644
--- a/drivers/regulator/max20086-regulator.c
+++ b/drivers/regulator/max20086-regulator.c
@@ -6,7 +6,6 @@
// Copyright (C) 2018 Avnet, Inc.
#include <linux/err.h>
-#include <linux/gpio.h>
#include <linux/gpio/consumer.h>
#include <linux/i2c.h>
#include <linux/module.h>