Messages in this thread | | | Date | Mon, 10 Jul 2023 22:59:43 +0200 | From | Andrew Lunn <> | Subject | Re: [PATCH net-next v2 1/3] net: stmmac: dwmac-qcom-ethqos: Use of_get_phy_mode() over device_get_phy_mode() |
| |
On Mon, Jul 10, 2023 at 03:06:37PM -0500, Andrew Halaney wrote: > 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 <ahalaney@redhat.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Andrew
| |