2023-10-17 03:16:52

by Yang Li

[permalink] [raw]
Subject: [PATCH -next] phy: Remove duplicated include in phy-ralink-usb.c

./drivers/phy/ralink/phy-ralink-usb.c: linux/platform_device.h is included more than once.

Reported-by: Abaci Robot <[email protected]>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=6851
Signed-off-by: Yang Li <[email protected]>
---
drivers/phy/ralink/phy-ralink-usb.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/phy/ralink/phy-ralink-usb.c b/drivers/phy/ralink/phy-ralink-usb.c
index 41bce5290e92..0ff07e210769 100644
--- a/drivers/phy/ralink/phy-ralink-usb.c
+++ b/drivers/phy/ralink/phy-ralink-usb.c
@@ -16,7 +16,6 @@
#include <linux/of.h>
#include <linux/phy/phy.h>
#include <linux/platform_device.h>
-#include <linux/platform_device.h>
#include <linux/regmap.h>
#include <linux/reset.h>

--
2.20.1.7.g153144c


2023-10-23 06:29:32

by Vinod Koul

[permalink] [raw]
Subject: Re: [PATCH -next] phy: Remove duplicated include in phy-ralink-usb.c


On Tue, 17 Oct 2023 11:16:35 +0800, Yang Li wrote:
> ./drivers/phy/ralink/phy-ralink-usb.c: linux/platform_device.h is included more than once.
>
>

Applied, thanks!

[1/1] phy: Remove duplicated include in phy-ralink-usb.c
commit: d688c8264b8ed25edbdafac46ea2b41b2e77416a

Best regards,
--
~Vinod