Skip to contentSkip to conversation

regulator: mp5416: remove kernel.h include

PATCH In review Robert Marko 2 participants 2 messages Jun 7, 2022

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 regulator: mp5416: remove kernel.h include

Driver does not seem to utilize anything from the kernel.h, compiles and works fine for me without it.

So remove kernel.h include as it pulls in a lot of unused stuff.

---
 drivers/regulator/mp5416.c | 1 -
 1 file changed, 1 deletion(-)
drivers/regulator/mp5416.c +0 -1
index 71e20e8d78ac..82892d71c2c9 100644
@@ -9,7 +9,6 @@
 #include <linux/err.h>
 #include <linux/i2c.h>
 #include <linux/init.h>
-#include <linux/kernel.h>
 #include <linux/module.h>
 #include <linux/of_device.h>
 #include <linux/platform_device.h>
Signature · 1 line
2.36.1
maintainer
#1 lore raw
Quoted 6 lines · Robert Marko

Driver does not seem to utilize anything from the kernel.h, compiles and works fine for me without it.

So remove kernel.h include as it pulls in a lot of unused stuff.

Applied to

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

Thanks!

[1/1] regulator: mp5416: remove kernel.h include

      commit: a8280a5dd5a425bd33d858ac787defdbad47362d

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