Re: [PATCH] extcon: sm5502: Drop useless include

From: Chanwoo Choi
Date: Mon Sep 22 2014 - 03:01:45 EST


On 09/17/2014 06:16 AM, Jean Delvare wrote:
> Don't include <linux/input.h> when the driver does not use anything
> from this header file.
>
> Signed-off-by: Jean Delvare <jdelvare@xxxxxxx>
> Cc: Chanwoo Choi <cw00.choi@xxxxxxxxxxx>
> Cc: MyungJoo Ham <myungjoo.ham@xxxxxxxxxxx>

Applied.

Thanks,
Chanwoo Choi

> ---
> drivers/extcon/extcon-sm5502.c | 1 -
> 1 file changed, 1 deletion(-)
>
> --- a/drivers/extcon/extcon-sm5502.c
> +++ b/drivers/extcon/extcon-sm5502.c
> @@ -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>
>

--
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/