Skip to contentSkip to conversation

extcon-class: kill duplicate #include

PATCH New Sergei Shtylyov 1 participant 1 message Dec 12, 2014 External connector subsystem (extcon)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 extcon-class: kill duplicate #include

Commit f841afb17476f485900bb6213cf93a64a7dc303f (extcon: Implement OF-based extcon lookup properly) added #include <linux/of.h> (I didn't even understand why), while such #include was already there. Kill the duplicate #include.

---
The patch is against the 'extcon-next' branch of the 'extcon.git' repo.

 drivers/extcon/extcon-class.c |    1 -
 1 file changed, 1 deletion(-)
drivers/extcon/extcon-class.c +0 -1
Index: extcon/drivers/extcon/extcon-class.c
===================================================================
@@ -29,7 +29,6 @@
 #include <linux/fs.h>
 #include <linux/err.h>
 #include <linux/extcon.h>
-#include <linux/of.h>
 #include <linux/slab.h>
 #include <linux/sysfs.h>
 #include <linux/of.h>