projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab6fa92
)
regulator: rk808: Drop useless headers
author
Linus Walleij
<linus.walleij@linaro.org>
Mon, 11 Sep 2023 08:27:58 +0000
(10:27 +0200)
committer
Mark Brown
<broonie@kernel.org>
Tue, 12 Sep 2023 13:34:11 +0000
(14:34 +0100)
The RK808 is already using the proper <linux/gpio/consumer.h>
header and includes the legacy headers <linux/gpio.h> and
<linux/of_gpio.h> for no reason, drop the includes.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link:
https://lore.kernel.org/r/20230911-descriptors-regulator-v2-1-ce978c52c557@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/rk808-regulator.c
patch
|
blob
|
history
diff --git
a/drivers/regulator/rk808-regulator.c
b/drivers/regulator/rk808-regulator.c
index 867a2cf243f6866099a18ee70c1b0b1fbcfce70d..e374fa6e5f2841e4a96fc2ad03907f020284cfc6 100644
(file)
--- a/
drivers/regulator/rk808-regulator.c
+++ b/
drivers/regulator/rk808-regulator.c
@@
-15,10
+15,8
@@
*/
#include <linux/delay.h>
-#include <linux/gpio.h>
#include <linux/module.h>
#include <linux/of.h>
-#include <linux/of_gpio.h>
#include <linux/mfd/rk808.h>
#include <linux/platform_device.h>
#include <linux/regulator/driver.h>