lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220607124759.775133-1-robimarko@gmail.com>
Date:   Tue,  7 Jun 2022 14:47:59 +0200
From:   Robert Marko <robimarko@...il.com>
To:     sravanhome@...il.com, lgirdwood@...il.com, broonie@...nel.org,
        linux-kernel@...r.kernel.org
Cc:     Robert Marko <robimarko@...il.com>, christophe.jaillet@...adoo.fr
Subject: [PATCH] regulator: mp5416: remove kernel.h include

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@...il.com>
Cc: christophe.jaillet@...adoo.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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ