* [PATCH] extcon: max3355: Drop unused include
@ 2021-07-15 15:26 ` Linus Walleij
2021-07-23 5:47 ` Chanwoo Choi
0 siblings, 1 reply; 2+ messages in thread
From: Linus Walleij @ 2021-07-15 15:26 UTC (permalink / raw)
To: MyungJoo Ham, Chanwoo Choi
Cc: linux-kernel, linux-gpio, Linus Walleij, Sergei Shtylyov
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>
--
2.31.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] extcon: max3355: Drop unused include
2021-07-15 15:26 ` [PATCH] extcon: max3355: Drop unused include Linus Walleij
@ 2021-07-23 5:47 ` Chanwoo Choi
0 siblings, 0 replies; 2+ messages in thread
From: Chanwoo Choi @ 2021-07-23 5:47 UTC (permalink / raw)
To: Linus Walleij, MyungJoo Ham; +Cc: linux-kernel, linux-gpio, Sergei Shtylyov
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-07-23 5:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <CGME20210715152907epcas1p1326e92c0358eb514361cf4f6ca2da4e5@epcas1p1.samsung.com>
2021-07-15 15:26 ` [PATCH] extcon: max3355: Drop unused include Linus Walleij
2021-07-23 5:47 ` Chanwoo Choi
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.