diff mbox series

[04/11] regulator: rk808: Drop useless headers

Message ID 20230808-descriptors-regulator-v1-4-939b5e84dd18@linaro.org (mailing list archive)
State New, archived
Headers show
Series Regulator legacy GPIO header removal | expand

Commit Message

Linus Walleij Aug. 8, 2023, 1:46 p.m. UTC
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>
---
 drivers/regulator/rk808-regulator.c | 2 --
 1 file changed, 2 deletions(-)

Comments

Mark Brown Aug. 8, 2023, 2:22 p.m. UTC | #1
On Tue, Aug 08, 2023 at 03:46:31PM +0200, Linus Walleij wrote:
> 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.

This doesn't apply against current code, please check and resend.
diff mbox series

Patch

diff --git a/drivers/regulator/rk808-regulator.c b/drivers/regulator/rk808-regulator.c
index 460525ed006c..e65339ef47ad 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_device.h>
-#include <linux/of_gpio.h>
 #include <linux/mfd/rk808.h>
 #include <linux/regulator/driver.h>
 #include <linux/regulator/of_regulator.h>