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:
2f26d97
)
regulator: mt6311: Drop useless header
author
Linus Walleij
<linus.walleij@linaro.org>
Tue, 8 Aug 2023 13:46:33 +0000
(15:46 +0200)
committer
Mark Brown
<broonie@kernel.org>
Tue, 8 Aug 2023 14:23:13 +0000
(15:23 +0100)
The mt6311 includes the legacy header <linux/gpio.h> for no
reason, drop the include.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link:
https://lore.kernel.org/r/20230808-descriptors-regulator-v1-6-939b5e84dd18@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/mt6311-regulator.c
patch
|
blob
|
history
diff --git
a/drivers/regulator/mt6311-regulator.c
b/drivers/regulator/mt6311-regulator.c
index
b077177
..
63a5148
100644
(file)
--- a/
drivers/regulator/mt6311-regulator.c
+++ b/
drivers/regulator/mt6311-regulator.c
@@
-4,7
+4,6
@@
// Author: Henry Chen <henryc.chen@mediatek.com>
#include <linux/err.h>
-#include <linux/gpio.h>
#include <linux/i2c.h>
#include <linux/init.h>
#include <linux/interrupt.h>