OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4eb351f
)
regulator: mcp16502: Drop useless header
author
Linus Walleij
<linus.walleij@linaro.org>
Tue, 8 Aug 2023 13:46:34 +0000
(15:46 +0200)
committer
Mark Brown
<broonie@kernel.org>
Tue, 8 Aug 2023 14:23:14 +0000
(15:23 +0100)
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>
drivers/regulator/mcp16502.c
patch
|
blob
|
history
diff --git
a/drivers/regulator/mcp16502.c
b/drivers/regulator/mcp16502.c
index
6c6f5a2
..
7a472a2
100644
(file)
--- 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>