[PATCH v2] regulator: rk808: Drop useless headers

From: Linus Walleij
Date: Mon Sep 11 2023 - 17:38:14 EST


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@xxxxxxxxxx>
---
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@xxxxxxxxxx
---
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@xxxxxxxxxx>