drivers/phy/rockchip/phy-rockchip-inno-usb2.c | 2 -- 1 file changed, 2 deletions(-)
Neither of_address.h or of_platform.h are used in the driver, so drop them.
Signed-off-by: Rob Herring <robh@kernel.org>
---
drivers/phy/rockchip/phy-rockchip-inno-usb2.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/phy/rockchip/phy-rockchip-inno-usb2.c b/drivers/phy/rockchip/phy-rockchip-inno-usb2.c
index b982c3f0d4b5..a24d2af154df 100644
--- a/drivers/phy/rockchip/phy-rockchip-inno-usb2.c
+++ b/drivers/phy/rockchip/phy-rockchip-inno-usb2.c
@@ -17,9 +17,7 @@
#include <linux/module.h>
#include <linux/mutex.h>
#include <linux/of.h>
-#include <linux/of_address.h>
#include <linux/of_irq.h>
-#include <linux/of_platform.h>
#include <linux/phy/phy.h>
#include <linux/platform_device.h>
#include <linux/power_supply.h>
--
2.42.0
On Mon, 09 Oct 2023 12:29:12 -0500, Rob Herring wrote:
> Neither of_address.h or of_platform.h are used in the driver, so drop them.
>
>
Applied, thanks!
[1/1] phy: rockchip-inno-usb2: Drop unnecessary DT includes
commit: 8b6fba3e79eb67411d2a0a70955e41abc7007210
Best regards,
--
~Vinod
Am Montag, 9. Oktober 2023, 19:29:12 CEST schrieb Rob Herring: > Neither of_address.h or of_platform.h are used in the driver, so drop them. > > Signed-off-by: Rob Herring <robh@kernel.org> Reviewed-by: Heiko Stuebner <heiko@sntech.de> > --- > drivers/phy/rockchip/phy-rockchip-inno-usb2.c | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/drivers/phy/rockchip/phy-rockchip-inno-usb2.c b/drivers/phy/rockchip/phy-rockchip-inno-usb2.c > index b982c3f0d4b5..a24d2af154df 100644 > --- a/drivers/phy/rockchip/phy-rockchip-inno-usb2.c > +++ b/drivers/phy/rockchip/phy-rockchip-inno-usb2.c > @@ -17,9 +17,7 @@ > #include <linux/module.h> > #include <linux/mutex.h> > #include <linux/of.h> > -#include <linux/of_address.h> > #include <linux/of_irq.h> > -#include <linux/of_platform.h> > #include <linux/phy/phy.h> > #include <linux/platform_device.h> > #include <linux/power_supply.h> >
© 2016 - 2026 Red Hat, Inc.