phy: Drop unnecessary of_match_device() calls
authorRob Herring <robh@kernel.org>
Mon, 9 Oct 2023 17:29:11 +0000 (12:29 -0500)
committerVinod Koul <vkoul@kernel.org>
Fri, 13 Oct 2023 10:17:53 +0000 (15:47 +0530)
commitdd69a6379a07f21ab1c41360925ef29ebe992a62
treef6907520550dbd10ff9e6d9742cdf9221f7caab8
parent8b6fba3e79eb67411d2a0a70955e41abc7007210
phy: Drop unnecessary of_match_device() calls

If probe is reached, we've already matched the device and in the case of
DT matching, the struct device_node pointer will be set. Therefore, there
is no need to call of_match_device() in probe.

Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20231009172923.2457844-16-robh@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/motorola/phy-cpcap-usb.c
drivers/phy/ti/phy-dm816x-usb.c