Re: [PATCH 50/81] phy: Remove and add needed includes

2024-05-09 Thread Kever Yang



On 2024/5/2 09:31, Tom Rini wrote:

Remove  from this driver directory and when needed
add missing include files directly.

Signed-off-by: Tom Rini 

Reviewed-by: Kever Yang 

Thanks,
- Kever

---
Cc: Jagan Teki 
Cc: Andre Przywara 
Cc: Tom Rini 
Cc: Stefan Roese 
Cc: Neil Armstrong 
Cc: Stephan Gerhold 
Cc: Linus Walleij 
Cc: Mark Kettenis 
Cc: Ryder Lee 
Cc: Weijie Gao 
Cc: Chunfeng Yun 
Cc: GSS_MTK_Uboot_upstream 
Cc: Nobuhiro Iwamatsu 
Cc: Marek Vasut 
Cc: Patrick Delaunay 
Cc: Patrice Chotard 
Cc: Michal Simek 
Cc: Caleb Connolly 
Cc: Sumit Garg 
Cc: Simon Glass 
Cc: Philipp Tomsich 
Cc: Kever Yang 
Cc: Kunihiko Hayashi 
Cc: Dai Okamura 
Cc: Sean Anderson 
Cc: Nishanth Menon 
Cc: Matthias Schiffer 
Cc: Stefan Bosch 
Cc: Eugen Hristev 
Cc: Igor Prusov 
Cc: Svyatoslav Ryhel 
Cc: Tim Harvey 
Cc: Fabio Estevam 
Cc: Adam Ford 
Cc: Jonas Karlman 
Cc: Johan Jonker 
Cc: Jon Lin 
Cc: Ren Jianing 
Cc: Frank Wang 
Cc: Siddharth Vadapalli 
Cc: Ravi Gunasekaran 
---
  drivers/phy/allwinner/phy-sun4i-usb.c  | 1 -
  drivers/phy/bcm6318-usbh-phy.c | 1 -
  drivers/phy/bcm6348-usbh-phy.c | 1 -
  drivers/phy/bcm6358-usbh-phy.c | 1 -
  drivers/phy/bcm6368-usbh-phy.c | 1 -
  drivers/phy/cadence/phy-cadence-sierra.c   | 1 -
  drivers/phy/cadence/phy-cadence-torrent.c  | 1 -
  drivers/phy/keystone-usb-phy.c | 1 -
  drivers/phy/marvell/comphy_a3700.c | 1 -
  drivers/phy/marvell/comphy_core.c  | 1 -
  drivers/phy/marvell/comphy_cp110.c | 2 +-
  drivers/phy/marvell/comphy_mux.c   | 1 -
  drivers/phy/meson-axg-mipi-dphy.c  | 1 -
  drivers/phy/meson-axg-mipi-pcie-analog.c   | 1 -
  drivers/phy/meson-g12a-usb2.c  | 1 -
  drivers/phy/meson-g12a-usb3-pcie.c | 1 -
  drivers/phy/meson-gxbb-usb2.c  | 1 -
  drivers/phy/meson-gxl-usb2.c   | 1 -
  drivers/phy/mt76x8-usb-phy.c   | 1 -
  drivers/phy/nop-phy.c  | 1 -
  drivers/phy/omap-usb2-phy.c| 1 -
  drivers/phy/phy-ab8500-usb.c   | 1 -
  drivers/phy/phy-apple-atc.c| 1 -
  drivers/phy/phy-bcm-sr-pcie.c  | 1 -
  drivers/phy/phy-core-mipi-dphy.c   | 2 +-
  drivers/phy/phy-da8xx-usb.c| 2 +-
  drivers/phy/phy-imx8mq-usb.c   | 1 -
  drivers/phy/phy-mtk-tphy.c | 1 -
  drivers/phy/phy-npcm-usb.c | 1 -
  drivers/phy/phy-rcar-gen2.c| 1 -
  drivers/phy/phy-rcar-gen3.c| 1 -
  drivers/phy/phy-stm32-usbphyc.c| 1 -
  drivers/phy/phy-ti-am654.c | 1 -
  drivers/phy/phy-uclass.c   | 1 -
  drivers/phy/phy-zynqmp.c   | 1 -
  drivers/phy/qcom/msm8916-usbh-phy.c| 1 -
  drivers/phy/qcom/phy-qcom-ipq4019-usb.c| 1 -
  drivers/phy/qcom/phy-qcom-usb-hs-28nm.c| 1 -
  drivers/phy/qcom/phy-qcom-usb-ss.c | 1 -
  drivers/phy/renesas/r8a779f0-ether-serdes.c| 1 -
  drivers/phy/rockchip/phy-rockchip-naneng-combphy.c | 1 -
  drivers/phy/rockchip/phy-rockchip-pcie.c   | 1 -
  drivers/phy/rockchip/phy-rockchip-snps-pcie3.c | 1 -
  drivers/phy/rockchip/phy-rockchip-typec.c  | 1 -
  drivers/phy/rockchip/phy-rockchip-usbdp.c  | 1 -
  drivers/phy/sandbox-phy.c  | 1 -
  drivers/phy/socionext/phy-uniphier-pcie.c  | 1 -
  drivers/phy/socionext/phy-uniphier-usb3.c  | 1 -
  drivers/phy/sti_usb_phy.c  | 1 -
  drivers/phy/ti-pipe3-phy.c | 1 -
  drivers/phy/ti/phy-j721e-wiz.c | 1 -
  51 files changed, 3 insertions(+), 51 deletions(-)

diff --git a/drivers/phy/allwinner/phy-sun4i-usb.c 
b/drivers/phy/allwinner/phy-sun4i-usb.c
index 6624e9134f43..b9306c9a8279 100644
--- a/drivers/phy/allwinner/phy-sun4i-usb.c
+++ b/drivers/phy/allwinner/phy-sun4i-usb.c
@@ -10,7 +10,6 @@
   * SPDX-License-Identifier:   GPL-2.0+
   */
  
-#include 

  #include 
  #include 
  #include 
diff --git a/drivers/phy/bcm6318-usbh-phy.c b/drivers/phy/bcm6318-usbh-phy.c
index a2fa446cb1c9..d715541bd4cb 100644
--- a/drivers/phy/bcm6318-usbh-phy.c
+++ b/drivers/phy/bcm6318-usbh-phy.c
@@ -7,7 +7,6 @@
   *Copyright 2013 Florian Fainelli 
   */
  
-#include 

  #include 
  #include 
  #include 
diff --git a/drivers/phy/bcm6348-usbh-phy.c b/drivers/phy/bcm6348-usbh-phy.c
index 857fb575ef19..ffb37b634a31 100644
--- a/drivers/phy/bcm6348-usbh-phy.c
+++ b/drivers/phy/bcm6348-usbh-phy.c
@@ -7,7 +7,6 @@
   *Copyright 2013 Florian Fainelli 
   */
  
-#include 

  #include 
  #include 
  #include 
diff --git 

Re: [PATCH 50/81] phy: Remove and add needed includes

2024-05-09 Thread Stefan Bosch




On 02.05.24 03:31, Tom Rini wrote:

Remove  from this driver directory and when needed
add missing include files directly.

Signed-off-by: Tom Rini 

Tested-by: Stefan Bosch 

Looks ok, tested on FriendlyElec-Board NanoPC-T2 
(s5p4418_nanopi2_defconfig).


Thanks a lot!


---
Cc: Jagan Teki 
Cc: Andre Przywara 
Cc: Tom Rini 
Cc: Stefan Roese 
Cc: Neil Armstrong 
Cc: Stephan Gerhold 
Cc: Linus Walleij 
Cc: Mark Kettenis 
Cc: Ryder Lee 
Cc: Weijie Gao 
Cc: Chunfeng Yun 
Cc: GSS_MTK_Uboot_upstream 
Cc: Nobuhiro Iwamatsu 
Cc: Marek Vasut 
Cc: Patrick Delaunay 
Cc: Patrice Chotard 
Cc: Michal Simek 
Cc: Caleb Connolly 
Cc: Sumit Garg 
Cc: Simon Glass 
Cc: Philipp Tomsich 
Cc: Kever Yang 
Cc: Kunihiko Hayashi 
Cc: Dai Okamura 
Cc: Sean Anderson 
Cc: Nishanth Menon 
Cc: Matthias Schiffer 
Cc: Stefan Bosch 
Cc: Eugen Hristev 
Cc: Igor Prusov 
Cc: Svyatoslav Ryhel 
Cc: Tim Harvey 
Cc: Fabio Estevam 
Cc: Adam Ford 
Cc: Jonas Karlman 
Cc: Johan Jonker 
Cc: Jon Lin 
Cc: Ren Jianing 
Cc: Frank Wang 
Cc: Siddharth Vadapalli 
Cc: Ravi Gunasekaran 
---
  drivers/phy/allwinner/phy-sun4i-usb.c  | 1 -
  drivers/phy/bcm6318-usbh-phy.c | 1 -
  drivers/phy/bcm6348-usbh-phy.c | 1 -
  drivers/phy/bcm6358-usbh-phy.c | 1 -
  drivers/phy/bcm6368-usbh-phy.c | 1 -
  drivers/phy/cadence/phy-cadence-sierra.c   | 1 -
  drivers/phy/cadence/phy-cadence-torrent.c  | 1 -
  drivers/phy/keystone-usb-phy.c | 1 -
  drivers/phy/marvell/comphy_a3700.c | 1 -
  drivers/phy/marvell/comphy_core.c  | 1 -
  drivers/phy/marvell/comphy_cp110.c | 2 +-
  drivers/phy/marvell/comphy_mux.c   | 1 -
  drivers/phy/meson-axg-mipi-dphy.c  | 1 -
  drivers/phy/meson-axg-mipi-pcie-analog.c   | 1 -
  drivers/phy/meson-g12a-usb2.c  | 1 -
  drivers/phy/meson-g12a-usb3-pcie.c | 1 -
  drivers/phy/meson-gxbb-usb2.c  | 1 -
  drivers/phy/meson-gxl-usb2.c   | 1 -
  drivers/phy/mt76x8-usb-phy.c   | 1 -
  drivers/phy/nop-phy.c  | 1 -
  drivers/phy/omap-usb2-phy.c| 1 -
  drivers/phy/phy-ab8500-usb.c   | 1 -
  drivers/phy/phy-apple-atc.c| 1 -
  drivers/phy/phy-bcm-sr-pcie.c  | 1 -
  drivers/phy/phy-core-mipi-dphy.c   | 2 +-
  drivers/phy/phy-da8xx-usb.c| 2 +-
  drivers/phy/phy-imx8mq-usb.c   | 1 -
  drivers/phy/phy-mtk-tphy.c | 1 -
  drivers/phy/phy-npcm-usb.c | 1 -
  drivers/phy/phy-rcar-gen2.c| 1 -
  drivers/phy/phy-rcar-gen3.c| 1 -
  drivers/phy/phy-stm32-usbphyc.c| 1 -
  drivers/phy/phy-ti-am654.c | 1 -
  drivers/phy/phy-uclass.c   | 1 -
  drivers/phy/phy-zynqmp.c   | 1 -
  drivers/phy/qcom/msm8916-usbh-phy.c| 1 -
  drivers/phy/qcom/phy-qcom-ipq4019-usb.c| 1 -
  drivers/phy/qcom/phy-qcom-usb-hs-28nm.c| 1 -
  drivers/phy/qcom/phy-qcom-usb-ss.c | 1 -
  drivers/phy/renesas/r8a779f0-ether-serdes.c| 1 -
  drivers/phy/rockchip/phy-rockchip-naneng-combphy.c | 1 -
  drivers/phy/rockchip/phy-rockchip-pcie.c   | 1 -
  drivers/phy/rockchip/phy-rockchip-snps-pcie3.c | 1 -
  drivers/phy/rockchip/phy-rockchip-typec.c  | 1 -
  drivers/phy/rockchip/phy-rockchip-usbdp.c  | 1 -
  drivers/phy/sandbox-phy.c  | 1 -
  drivers/phy/socionext/phy-uniphier-pcie.c  | 1 -
  drivers/phy/socionext/phy-uniphier-usb3.c  | 1 -
  drivers/phy/sti_usb_phy.c  | 1 -
  drivers/phy/ti-pipe3-phy.c | 1 -
  drivers/phy/ti/phy-j721e-wiz.c | 1 -
  51 files changed, 3 insertions(+), 51 deletions(-)

diff --git a/drivers/phy/allwinner/phy-sun4i-usb.c 
b/drivers/phy/allwinner/phy-sun4i-usb.c
index 6624e9134f43..b9306c9a8279 100644
--- a/drivers/phy/allwinner/phy-sun4i-usb.c
+++ b/drivers/phy/allwinner/phy-sun4i-usb.c
@@ -10,7 +10,6 @@
   * SPDX-License-Identifier:   GPL-2.0+
   */
  
-#include 

  #include 
  #include 
  #include 
diff --git a/drivers/phy/bcm6318-usbh-phy.c b/drivers/phy/bcm6318-usbh-phy.c
index a2fa446cb1c9..d715541bd4cb 100644
--- a/drivers/phy/bcm6318-usbh-phy.c
+++ b/drivers/phy/bcm6318-usbh-phy.c
@@ -7,7 +7,6 @@
   *Copyright 2013 Florian Fainelli 
   */
  
-#include 

  #include 
  #include 
  #include 
diff --git a/drivers/phy/bcm6348-usbh-phy.c b/drivers/phy/bcm6348-usbh-phy.c
index 857fb575ef19..ffb37b634a31 100644
--- a/drivers/phy/bcm6348-usbh-phy.c
+++ b/drivers/phy/bcm6348-usbh-phy.c
@@ -7,7 +7,6 @@
   *Copyright 2013 

[PATCH 50/81] phy: Remove and add needed includes

2024-05-01 Thread Tom Rini
Remove  from this driver directory and when needed
add missing include files directly.

Signed-off-by: Tom Rini 
---
Cc: Jagan Teki 
Cc: Andre Przywara 
Cc: Tom Rini 
Cc: Stefan Roese 
Cc: Neil Armstrong 
Cc: Stephan Gerhold 
Cc: Linus Walleij 
Cc: Mark Kettenis 
Cc: Ryder Lee 
Cc: Weijie Gao 
Cc: Chunfeng Yun 
Cc: GSS_MTK_Uboot_upstream 
Cc: Nobuhiro Iwamatsu 
Cc: Marek Vasut 
Cc: Patrick Delaunay 
Cc: Patrice Chotard 
Cc: Michal Simek 
Cc: Caleb Connolly 
Cc: Sumit Garg 
Cc: Simon Glass 
Cc: Philipp Tomsich 
Cc: Kever Yang 
Cc: Kunihiko Hayashi 
Cc: Dai Okamura 
Cc: Sean Anderson 
Cc: Nishanth Menon 
Cc: Matthias Schiffer 
Cc: Stefan Bosch 
Cc: Eugen Hristev 
Cc: Igor Prusov 
Cc: Svyatoslav Ryhel 
Cc: Tim Harvey 
Cc: Fabio Estevam 
Cc: Adam Ford 
Cc: Jonas Karlman 
Cc: Johan Jonker 
Cc: Jon Lin 
Cc: Ren Jianing 
Cc: Frank Wang 
Cc: Siddharth Vadapalli 
Cc: Ravi Gunasekaran 
---
 drivers/phy/allwinner/phy-sun4i-usb.c  | 1 -
 drivers/phy/bcm6318-usbh-phy.c | 1 -
 drivers/phy/bcm6348-usbh-phy.c | 1 -
 drivers/phy/bcm6358-usbh-phy.c | 1 -
 drivers/phy/bcm6368-usbh-phy.c | 1 -
 drivers/phy/cadence/phy-cadence-sierra.c   | 1 -
 drivers/phy/cadence/phy-cadence-torrent.c  | 1 -
 drivers/phy/keystone-usb-phy.c | 1 -
 drivers/phy/marvell/comphy_a3700.c | 1 -
 drivers/phy/marvell/comphy_core.c  | 1 -
 drivers/phy/marvell/comphy_cp110.c | 2 +-
 drivers/phy/marvell/comphy_mux.c   | 1 -
 drivers/phy/meson-axg-mipi-dphy.c  | 1 -
 drivers/phy/meson-axg-mipi-pcie-analog.c   | 1 -
 drivers/phy/meson-g12a-usb2.c  | 1 -
 drivers/phy/meson-g12a-usb3-pcie.c | 1 -
 drivers/phy/meson-gxbb-usb2.c  | 1 -
 drivers/phy/meson-gxl-usb2.c   | 1 -
 drivers/phy/mt76x8-usb-phy.c   | 1 -
 drivers/phy/nop-phy.c  | 1 -
 drivers/phy/omap-usb2-phy.c| 1 -
 drivers/phy/phy-ab8500-usb.c   | 1 -
 drivers/phy/phy-apple-atc.c| 1 -
 drivers/phy/phy-bcm-sr-pcie.c  | 1 -
 drivers/phy/phy-core-mipi-dphy.c   | 2 +-
 drivers/phy/phy-da8xx-usb.c| 2 +-
 drivers/phy/phy-imx8mq-usb.c   | 1 -
 drivers/phy/phy-mtk-tphy.c | 1 -
 drivers/phy/phy-npcm-usb.c | 1 -
 drivers/phy/phy-rcar-gen2.c| 1 -
 drivers/phy/phy-rcar-gen3.c| 1 -
 drivers/phy/phy-stm32-usbphyc.c| 1 -
 drivers/phy/phy-ti-am654.c | 1 -
 drivers/phy/phy-uclass.c   | 1 -
 drivers/phy/phy-zynqmp.c   | 1 -
 drivers/phy/qcom/msm8916-usbh-phy.c| 1 -
 drivers/phy/qcom/phy-qcom-ipq4019-usb.c| 1 -
 drivers/phy/qcom/phy-qcom-usb-hs-28nm.c| 1 -
 drivers/phy/qcom/phy-qcom-usb-ss.c | 1 -
 drivers/phy/renesas/r8a779f0-ether-serdes.c| 1 -
 drivers/phy/rockchip/phy-rockchip-naneng-combphy.c | 1 -
 drivers/phy/rockchip/phy-rockchip-pcie.c   | 1 -
 drivers/phy/rockchip/phy-rockchip-snps-pcie3.c | 1 -
 drivers/phy/rockchip/phy-rockchip-typec.c  | 1 -
 drivers/phy/rockchip/phy-rockchip-usbdp.c  | 1 -
 drivers/phy/sandbox-phy.c  | 1 -
 drivers/phy/socionext/phy-uniphier-pcie.c  | 1 -
 drivers/phy/socionext/phy-uniphier-usb3.c  | 1 -
 drivers/phy/sti_usb_phy.c  | 1 -
 drivers/phy/ti-pipe3-phy.c | 1 -
 drivers/phy/ti/phy-j721e-wiz.c | 1 -
 51 files changed, 3 insertions(+), 51 deletions(-)

diff --git a/drivers/phy/allwinner/phy-sun4i-usb.c 
b/drivers/phy/allwinner/phy-sun4i-usb.c
index 6624e9134f43..b9306c9a8279 100644
--- a/drivers/phy/allwinner/phy-sun4i-usb.c
+++ b/drivers/phy/allwinner/phy-sun4i-usb.c
@@ -10,7 +10,6 @@
  * SPDX-License-Identifier:GPL-2.0+
  */
 
-#include 
 #include 
 #include 
 #include 
diff --git a/drivers/phy/bcm6318-usbh-phy.c b/drivers/phy/bcm6318-usbh-phy.c
index a2fa446cb1c9..d715541bd4cb 100644
--- a/drivers/phy/bcm6318-usbh-phy.c
+++ b/drivers/phy/bcm6318-usbh-phy.c
@@ -7,7 +7,6 @@
  * Copyright 2013 Florian Fainelli 
  */
 
-#include 
 #include 
 #include 
 #include 
diff --git a/drivers/phy/bcm6348-usbh-phy.c b/drivers/phy/bcm6348-usbh-phy.c
index 857fb575ef19..ffb37b634a31 100644
--- a/drivers/phy/bcm6348-usbh-phy.c
+++ b/drivers/phy/bcm6348-usbh-phy.c
@@ -7,7 +7,6 @@
  * Copyright 2013 Florian Fainelli 
  */
 
-#include 
 #include 
 #include 
 #include 
diff --git a/drivers/phy/bcm6358-usbh-phy.c b/drivers/phy/bcm6358-usbh-phy.c
index bfdcfb0d245e..a8d24609bfc0 100644
--- a/drivers/phy/bcm6358-usbh-phy.c
+++