Commit dd69a637 authored by Rob Herring's avatar Rob Herring Committed by Vinod Koul
Browse files

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: default avatarRob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20231009172923.2457844-16-robh@kernel.org


Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent 8b6fba3e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment