linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] regulator: mp5416: remove kernel.h include
@ 2022-06-07 12:47 Robert Marko
  2022-06-07 17:38 ` Mark Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Robert Marko @ 2022-06-07 12:47 UTC (permalink / raw)
  To: sravanhome, lgirdwood, broonie, linux-kernel
  Cc: Robert Marko, christophe.jaillet

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.

Signed-off-by: Robert Marko <robimarko@gmail.com>
Cc: christophe.jaillet@wanadoo.fr
---
 drivers/regulator/mp5416.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/regulator/mp5416.c b/drivers/regulator/mp5416.c
index 71e20e8d78ac..82892d71c2c9 100644
--- a/drivers/regulator/mp5416.c
+++ b/drivers/regulator/mp5416.c
@@ -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>
-- 
2.36.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] regulator: mp5416: remove kernel.h include
  2022-06-07 12:47 [PATCH] regulator: mp5416: remove kernel.h include Robert Marko
@ 2022-06-07 17:38 ` Mark Brown
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2022-06-07 17:38 UTC (permalink / raw)
  To: robimarko, lgirdwood, linux-kernel, sravanhome; +Cc: christophe.jaillet

On Tue, 7 Jun 2022 14:47:59 +0200, Robert Marko wrote:
> 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-06-07 18:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-07 12:47 [PATCH] regulator: mp5416: remove kernel.h include Robert Marko
2022-06-07 17:38 ` Mark Brown

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).