regulator: mp5416: remove kernel.h include
authorRobert Marko <robimarko@gmail.com>
Tue, 7 Jun 2022 12:47:59 +0000 (14:47 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 7 Jun 2022 16:21:36 +0000 (17:21 +0100)
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
Link: https://lore.kernel.org/r/20220607124759.775133-1-robimarko@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/mp5416.c

index 71e20e8..82892d7 100644 (file)
@@ -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>