Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1295662 > unrolled thread

[PATCH] extcon: max3355: kill unneeded #include's

Started bySergei Shtylyov <sergei.shtylyov@cogentembedded.com>
First post2015-12-20 19:40 +0100
Last post2015-12-21 03:50 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] extcon: max3355: kill unneeded #include's Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> - 2015-12-20 19:40 +0100
    Re: [PATCH] extcon: max3355: kill unneeded #include's Chanwoo Choi <cw00.choi@samsung.com> - 2015-12-21 03:50 +0100

#1295662 — [PATCH] extcon: max3355: kill unneeded #include's

FromSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Date2015-12-20 19:40 +0100
Subject[PATCH] extcon: max3355: kill unneeded #include's
Message-ID<qHR3I-4aR-29@gated-at.bofh.it>
Some #include's weren't needed from the start, some are left overs from the
earlier driver versions... Kill 'em all! :-)

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>

---
The patch is against the 'extcon-next' branch of the 'extcon.git' repo.
If possible, please fold this patch into the main MAX3355 driver patch.

 drivers/extcon/extcon-max3355.c |    5 -----
 1 file changed, 5 deletions(-)

Index: extcon/drivers/extcon/extcon-max3355.c
===================================================================
--- extcon.orig/drivers/extcon/extcon-max3355.c
+++ extcon/drivers/extcon/extcon-max3355.c
@@ -11,14 +11,9 @@
 
 #include <linux/extcon.h>
 #include <linux/gpio.h>
-#include <linux/init.h>
 #include <linux/interrupt.h>
-#include <linux/kernel.h>
 #include <linux/module.h>
-#include <linux/of_gpio.h>
 #include <linux/platform_device.h>
-#include <linux/slab.h>
-#include <linux/workqueue.h>
 
 struct max3355_data {
 	struct extcon_dev *edev;

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [next] | [standalone]


#1295751

FromChanwoo Choi <cw00.choi@samsung.com>
Date2015-12-21 03:50 +0100
Message-ID<qHYHT-z0-7@gated-at.bofh.it>
In reply to#1295662
On 2015년 12월 21일 03:31, Sergei Shtylyov wrote:
> Some #include's weren't needed from the start, some are left overs from the
> earlier driver versions... Kill 'em all! :-)

I don't prefer following expression. I think you should write the description
to maintain the formal style on the next.
- "... Kill 'em all! :-) "

> 
> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
> 
> ---
> The patch is against the 'extcon-next' branch of the 'extcon.git' repo.
> If possible, please fold this patch into the main MAX3355 driver patch.
> 
>  drivers/extcon/extcon-max3355.c |    5 -----
>  1 file changed, 5 deletions(-)
> 
> Index: extcon/drivers/extcon/extcon-max3355.c
> ===================================================================
> --- extcon.orig/drivers/extcon/extcon-max3355.c
> +++ extcon/drivers/extcon/extcon-max3355.c
> @@ -11,14 +11,9 @@
>  
>  #include <linux/extcon.h>
>  #include <linux/gpio.h>
> -#include <linux/init.h>
>  #include <linux/interrupt.h>
> -#include <linux/kernel.h>
>  #include <linux/module.h>
> -#include <linux/of_gpio.h>
>  #include <linux/platform_device.h>
> -#include <linux/slab.h>
> -#include <linux/workqueue.h>
>  
>  struct max3355_data {
>  	struct extcon_dev *edev;
> 

I combine it on original patch.

Thanks,
Chanwoo Choi



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web