phy: realtek: Replace of_device.h with explicit includes
authorRob Herring <robh@kernel.org>
Tue, 10 Oct 2023 20:57:00 +0000 (15:57 -0500)
committerVinod Koul <vkoul@kernel.org>
Fri, 13 Oct 2023 10:13:59 +0000 (15:43 +0530)
commit7e909370a5cd44b4c16df500fb40762f48aae966
tree69f17bca0fd337eece3589319578fb26e63e36ba
parent1a5361189b7acac15b9b086b2300a11b7aa84c06
phy: realtek: Replace of_device.h with explicit includes

The DT of_device.h and of_platform.h date back to the separate
of_platform_bus_type before it as merged into the regular platform bus.
As part of that merge prepping Arm DT support 13 years ago, they
"temporarily" include each other and pull in various other headers. In
preparation to fix this, adjust the includes for what is actually needed.

of_device.h isn't needed, but platform_device.h was implicitly included by
it.

Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20231010205701.1585026-1-robh@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/realtek/phy-rtk-usb2.c
drivers/phy/realtek/phy-rtk-usb3.c