[PATCH v2] regulator: rk808: Drop useless headers

Linus Walleij posted 1 patch 2 years, 3 months ago
drivers/regulator/rk808-regulator.c | 2 --
1 file changed, 2 deletions(-)
[PATCH v2] regulator: rk808: Drop useless headers
Posted by Linus Walleij 2 years, 3 months ago
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>
Re: [PATCH v2] regulator: rk808: Drop useless headers
Posted by Mark Brown 2 years, 3 months ago
On Mon, 11 Sep 2023 10:27:58 +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.
> 
> 

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-next

Thanks!

[1/1] regulator: rk808: Drop useless headers
      commit: dd35a4debcf917f069e83f60b6ac84b5cad6e5e3

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark