diff mbox series

extcon: max3355: Drop unused include

Message ID 20210715152657.396185-1-linus.walleij@linaro.org
State Accepted
Commit 3177308a9421f7735482fd56091bc09ef521b933
Headers show
Series extcon: max3355: Drop unused include | expand

Commit Message

Linus Walleij July 15, 2021, 3:26 p.m. UTC
This driver includes the legacy <linux/gpio.h> header but
does not use it. Drop this include.

Cc: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
 drivers/extcon/extcon-max3355.c | 1 -
 1 file changed, 1 deletion(-)

-- 
2.31.1

Comments

Chanwoo Choi July 23, 2021, 5:47 a.m. UTC | #1
On 7/16/21 12:26 AM, Linus Walleij wrote:
> This driver includes the legacy <linux/gpio.h> header but

> does not use it. Drop this include.

> 

> Cc: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>

> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

> ---

>  drivers/extcon/extcon-max3355.c | 1 -

>  1 file changed, 1 deletion(-)

> 

> diff --git a/drivers/extcon/extcon-max3355.c b/drivers/extcon/extcon-max3355.c

> index fa01926c09f1..d7795607f693 100644

> --- a/drivers/extcon/extcon-max3355.c

> +++ b/drivers/extcon/extcon-max3355.c

> @@ -7,7 +7,6 @@

>   */

>  

>  #include <linux/extcon-provider.h>

> -#include <linux/gpio.h>

>  #include <linux/gpio/consumer.h>

>  #include <linux/interrupt.h>

>  #include <linux/module.h>

> 


Applied it. Thanks.

-- 
Best Regards,
Chanwoo Choi
Samsung Electronics
diff mbox series

Patch

diff --git a/drivers/extcon/extcon-max3355.c b/drivers/extcon/extcon-max3355.c
index fa01926c09f1..d7795607f693 100644
--- a/drivers/extcon/extcon-max3355.c
+++ b/drivers/extcon/extcon-max3355.c
@@ -7,7 +7,6 @@ 
  */
 
 #include <linux/extcon-provider.h>
-#include <linux/gpio.h>
 #include <linux/gpio/consumer.h>
 #include <linux/interrupt.h>
 #include <linux/module.h>