diff mbox series

phy: rockchip-inno-usb2: Drop unnecessary DT includes

Message ID 20231009172923.2457844-17-robh@kernel.org
State Accepted
Commit 8b6fba3e79eb67411d2a0a70955e41abc7007210
Headers show
Series phy: rockchip-inno-usb2: Drop unnecessary DT includes | expand

Commit Message

Rob Herring (Arm) Oct. 9, 2023, 5:29 p.m. UTC
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(-)

Comments

Heiko Stuebner Oct. 9, 2023, 8:09 p.m. UTC | #1
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>
>
Vinod Koul Oct. 13, 2023, 10:43 a.m. UTC | #2
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,
diff mbox series

Patch

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>