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]
Date:	Sun, 20 Dec 2015 21:31:20 +0300
From:	Sergei Shtylyov <sergei.shtylyov@...entembedded.com>
To:	myungjoo.ham@...sung.com, cw00.choi@...sung.com,
	linux-kernel@...r.kernel.org
Cc:	linux-usb@...r.kernel.org, linux-sh@...r.kernel.org
Subject: [PATCH] extcon: max3355: kill unneeded #include's

Some #include's weren't needed from the start, some are left overs from the
earlier driver versions... Kill 'em all! :-)

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@...entembedded.com>

---
The patch is against the 'extcon-next' branch of the 'extcon.git' repo.
If possible, please fold this patch into the main MAX3355 driver patch.

 drivers/extcon/extcon-max3355.c |    5 -----
 1 file changed, 5 deletions(-)

Index: extcon/drivers/extcon/extcon-max3355.c
===================================================================
--- extcon.orig/drivers/extcon/extcon-max3355.c
+++ extcon/drivers/extcon/extcon-max3355.c
@@ -11,14 +11,9 @@
 
 #include <linux/extcon.h>
 #include <linux/gpio.h>
-#include <linux/init.h>
 #include <linux/interrupt.h>
-#include <linux/kernel.h>
 #include <linux/module.h>
-#include <linux/of_gpio.h>
 #include <linux/platform_device.h>
-#include <linux/slab.h>
-#include <linux/workqueue.h>
 
 struct max3355_data {
 	struct extcon_dev *edev;

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ