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

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