Skip to contentSkip to conversation

extcon: sm5502: Drop useless include

PATCH Applied Jean Delvare 2 participants 2 messages Sep 16, 2014 – Sep 22, 2014 External connector subsystem (extcon)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 extcon: sm5502: Drop useless include

Don't include <linux/input.h> when the driver does not use anything from this header file.

Cc Chanwoo Choi <[email protected]>
Cc MyungJoo Ham <[email protected]>
---
 drivers/extcon/extcon-sm5502.c |    1 -
 1 file changed, 1 deletion(-)
drivers/extcon/extcon-sm5502.c +0 -1
@@ -17,7 +17,6 @@
 
 #include <linux/err.h>
 #include <linux/i2c.h>
-#include <linux/input.h>
 #include <linux/interrupt.h>
 #include <linux/irqdomain.h>
 #include <linux/kernel.h>
Signature · 2 lines
Jean Delvare
SUSE L3 Support
maintainer Applied
#1 lore raw
Quoted 6 lines · Jean Delvare

Don't include <linux/input.h> when the driver does not use anything from this header file.

Cc Chanwoo Choi <[email protected]>
Cc MyungJoo Ham <[email protected]>

Applied.

Thanks,
Chanwoo Choi

Quoted 15 lines
---
 drivers/extcon/extcon-sm5502.c |    1 -
 1 file changed, 1 deletion(-)
drivers/extcon/extcon-sm5502.c +0 -1
@@ -17,7 +17,6 @@
 
 #include <linux/err.h>
 #include <linux/i2c.h>
-#include <linux/input.h>
 #include <linux/interrupt.h>
 #include <linux/irqdomain.h>
 #include <linux/kernel.h>