* [PATCH v2] regulator: rk808: Drop useless headers
@ 2023-09-11 8:27 Linus Walleij
0 siblings, 0 replies; only message in thread
From: Linus Walleij @ 2023-09-11 8:27 UTC (permalink / raw)
To: Liam Girdwood, Mark Brown; +Cc: linux-kernel, Linus Walleij
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>
---
This removes some low hanging dangling <linux/gpio.h>
includes.
---
Changes in v2:
- Just the dangling RK808 patch from previous work remains
- Link to v1: https://lore.kernel.org/r/20230808-descriptors-regulator-v1-0-939b5e84dd18@linaro.org
---
drivers/regulator/rk808-regulator.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/regulator/rk808-regulator.c b/drivers/regulator/rk808-regulator.c
index 867a2cf243f6..e374fa6e5f28 100644
--- 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>
---
base-commit: 0bb80ecc33a8fb5a682236443c1e740d5c917d1d
change-id: 20230807-descriptors-regulator-3ed7a42fd072
Best regards,
--
Linus Walleij <linus.walleij@linaro.org>
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2023-09-11 11:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-11 8:27 [PATCH v2] regulator: rk808: Drop useless headers Linus Walleij
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).