Skip to contentSkip to conversation

phy: Remove duplicated include in xusb.c

PATCH Applied Yang Li 3 participants 3 messages Jul 19, 2023 – Jul 24, 2023

Subsystems (3)
lore
Share & tools
lore

Yang Li

author
#0 lore raw

PATCH 1/1 phy: Remove duplicated include in xusb.c

./drivers/phy/tegra/xusb.c: linux/platform_device.h is included more than once.

---
 drivers/phy/tegra/xusb.c | 1 -
 1 file changed, 1 deletion(-)
drivers/phy/tegra/xusb.c +0 -1
index ed30866e7647..142ebe0247cc 100644
@@ -12,7 +12,6 @@
 #include <linux/phy/phy.h>
 #include <linux/phy/tegra/xusb.h>
 #include <linux/platform_device.h>
-#include <linux/platform_device.h>
 #include <linux/regulator/consumer.h>
 #include <linux/reset.h>
 #include <linux/slab.h>
Signature · 1 line
2.20.1.7.g153144c
Acked-by on v1 1/1
#1 lore raw
Quoted 8 lines · Yang Li

./drivers/phy/tegra/xusb.c: linux/platform_device.h is included more than once.

---
 drivers/phy/tegra/xusb.c | 1 -
 1 file changed, 1 deletion(-)

It's typical to list the maintainers on the "To:" line to increase the chances of them noticing. This is obviously correct, so:

Quoted 16 lines
drivers/phy/tegra/xusb.c +0 -1
index ed30866e7647..142ebe0247cc 100644
@@ -12,7 +12,6 @@
 #include <linux/phy/phy.h>
 #include <linux/phy/tegra/xusb.h>
 #include <linux/platform_device.h>
-#include <linux/platform_device.h>
 #include <linux/regulator/consumer.h>
 #include <linux/reset.h>
 #include <linux/slab.h>
Signature · 1 line
2.20.1.7.g153144c
Signature · 3 lines
linux-phy mailing list
[email protected]
https://lists.infradead.org/mailman/listinfo/linux-phy
maintainer Applied
#2 lore raw
In reply to Yang Li
Quoted 3 lines · Yang Li

./drivers/phy/tegra/xusb.c: linux/platform_device.h is included more than once.

Applied, thanks!

[1/1] phy: Remove duplicated include in xusb.c

      commit: f5a8ecef3c6b840673d08342045c3014d674555f

Best regards,

Signature · 1 line
~Vinod