[PATCH] regulator: mp5416: remove kernel.h include
From: Robert Marko
Date: Tue Jun 07 2022 - 08:48:23 EST
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@xxxxxxxxx>
Cc: christophe.jaillet@xxxxxxxxxx
---
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