projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0d58fe
)
regulator: rpi-panel-attiny: Drop useless header
author
Linus Walleij
<linus.walleij@linaro.org>
Tue, 8 Aug 2023 13:46:30 +0000
(15:46 +0200)
committer
Mark Brown
<broonie@kernel.org>
Tue, 8 Aug 2023 14:23:12 +0000
(15:23 +0100)
The RPI panel regulator driver includes the legacy header
<linux/gpio.h> for no reason, this is a driver and <linux/gpio/driver.h>
is already included. Drop the include.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link:
https://lore.kernel.org/r/20230808-descriptors-regulator-v1-3-939b5e84dd18@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/rpi-panel-attiny-regulator.c
patch
|
blob
|
history
diff --git
a/drivers/regulator/rpi-panel-attiny-regulator.c
b/drivers/regulator/rpi-panel-attiny-regulator.c
index ed046cc998c6d3717f769730fda3bda51e18c92e..f52c3d47ecea2295f5d9e86468da9852c0edde82 100644
(file)
--- a/
drivers/regulator/rpi-panel-attiny-regulator.c
+++ b/
drivers/regulator/rpi-panel-attiny-regulator.c
@@
-7,7
+7,6
@@
#include <linux/backlight.h>
#include <linux/err.h>
-#include <linux/gpio.h>
#include <linux/gpio/driver.h>
#include <linux/i2c.h>
#include <linux/init.h>