Messages in this thread Patch in this message | | | From | Robert Marko <> | Subject | [PATCH] regulator: mp5416: remove kernel.h include | Date | Tue, 7 Jun 2022 14:47:59 +0200 |
| |
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
| |