projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e903ea
)
regulator: max20086: Drop useless header
author
Linus Walleij
<linus.walleij@linaro.org>
Tue, 8 Aug 2023 13:46:35 +0000
(15:46 +0200)
committer
Mark Brown
<broonie@kernel.org>
Tue, 8 Aug 2023 14:23:15 +0000
(15:23 +0100)
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>
drivers/regulator/max20086-regulator.c
patch
|
blob
|
history
diff --git
a/drivers/regulator/max20086-regulator.c
b/drivers/regulator/max20086-regulator.c
index fad31f5f435e147dd87b5e37e4aaa9da68e25fe3..32f47b896fd1e259925b8a520c62fd51773f9a67 100644
(file)
--- 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>