[PATCH] extcon-class: kill duplicate #include
From: Sergei Shtylyov
Date: Fri Dec 12 2014 - 15:11:00 EST
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.
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@xxxxxxxxxxxxxxxxxx>
---
The patch is against the 'extcon-next' branch of the 'extcon.git' repo.
drivers/extcon/extcon-class.c | 1 -
1 file changed, 1 deletion(-)
Index: extcon/drivers/extcon/extcon-class.c
===================================================================
--- extcon.orig/drivers/extcon/extcon-class.c
+++ 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>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/