diff options
author | Andrew Halaney <[email protected]> | 2023-07-10 15:06:37 -0500 |
---|---|---|
committer | David S. Miller <[email protected]> | 2023-07-12 10:19:05 +0100 |
commit | a8aa20a64ef2bdbad7421acf9c7217c2c0e4ac75 (patch) | |
tree | a8a093fa7f2f7695994968ee39999f8fb36528e5 /drivers/fpga/fpga-mgr.c | |
parent | 47b7acfb016b9fdc950cb501c351faf5723b1868 (diff) |
net: stmmac: dwmac-qcom-ethqos: Use of_get_phy_mode() over device_get_phy_mode()
Since this driver only uses devicetree, let's move over to
of_get_phy_mode(). That API has an explicit error return and produces a
phy_interface_t directly instead of an int when representing the phy
mode.
Signed-off-by: Andrew Halaney <[email protected]>
Reviewed-by: Andrew Lunn <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions