Skip to contentSkip to conversation

usb: typec: remove duplicate includes

PATCH Applied Pravin Shedge 3 participants 3 messages Dec 5, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 21/45 usb: typec: remove duplicate includes

These duplicate includes have been found with scripts/checkincludes.pl but they have been removed manually to avoid removing false positives.

---
 drivers/usb/typec/fusb302/fusb302.c | 1 -
 1 file changed, 1 deletion(-)
drivers/usb/typec/fusb302/fusb302.c +0 -1
index 72cb060..a3e4cc9 100644
@@ -16,7 +16,6 @@
 #include <linux/module.h>
 #include <linux/mutex.h>
 #include <linux/of_device.h>
-#include <linux/of_device.h>
 #include <linux/of_gpio.h>
 #include <linux/pinctrl/consumer.h>
 #include <linux/power_supply.h>
Signature · 1 line
2.7.4
maintainer Acked-by on v1 21/45
#1 lore raw
Quoted 4 lines · Pravin Shedge

These duplicate includes have been found with scripts/checkincludes.pl but they have been removed manually to avoid removing false positives.

Quoted 9 lines
---
 drivers/usb/typec/fusb302/fusb302.c | 1 -
 1 file changed, 1 deletion(-)
drivers/usb/typec/fusb302/fusb302.c +0 -0
index 72cb060..a3e4cc9 100644

drivers/usb/typec/fusb302/fusb302.c line 21

Quoted 7 lines
drivers/usb/typec/fusb302/fusb302.c +0 -1
@@ -16,7 +16,6 @@
 #include <linux/module.h>
 #include <linux/mutex.h>
 #include <linux/of_device.h>
-#include <linux/of_device.h>
 #include <linux/of_gpio.h>
 #include <linux/pinctrl/consumer.h>
 #include <linux/power_supply.h>

Thanks,

Signature · 1 line
heikki
Reviewed-by on v1 21/45
#2 lore raw
In reply to Pravin Shedge
Quoted 4 lines · Pravin Shedge

These duplicate includes have been found with scripts/checkincludes.pl but they have been removed manually to avoid removing false positives.

Quoted 17 lines
---
  drivers/usb/typec/fusb302/fusb302.c | 1 -
  1 file changed, 1 deletion(-)
drivers/usb/typec/fusb302/fusb302.c +0 -1
index 72cb060..a3e4cc9 100644
@@ -16,7 +16,6 @@
  #include <linux/module.h>
  #include <linux/mutex.h>
  #include <linux/of_device.h>
-#include <linux/of_device.h>
  #include <linux/of_gpio.h>
  #include <linux/pinctrl/consumer.h>
  #include <linux/power_supply.h>