projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5c9a14
)
regulator: bd71815: Drop useless header
author
Linus Walleij
<linus.walleij@linaro.org>
Tue, 8 Aug 2023 13:46:38 +0000
(15:46 +0200)
committer
Mark Brown
<broonie@kernel.org>
Tue, 8 Aug 2023 14:23:18 +0000
(15:23 +0100)
The bd71815 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-11-939b5e84dd18@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/bd71815-regulator.c
patch
|
blob
|
history
diff --git
a/drivers/regulator/bd71815-regulator.c
b/drivers/regulator/bd71815-regulator.c
index
475b1e0
..
26192d5
100644
(file)
--- a/
drivers/regulator/bd71815-regulator.c
+++ b/
drivers/regulator/bd71815-regulator.c
@@
-18,7
+18,6
@@
#include <linux/regulator/driver.h>
#include <linux/delay.h>
#include <linux/slab.h>
-#include <linux/gpio.h>
#include <linux/mfd/rohm-generic.h>
#include <linux/mfd/rohm-bd71815.h>
#include <linux/regulator/of_regulator.h>