From: Paolo Abeni Date: Tue, 18 Mar 2025 14:53:18 +0000 (+0100) Subject: Merge branch 'net-stmmac-remove-unnecessary-of_get_phy_mode-calls' X-Git-Tag: v6.15-rc1~160^2~85 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=23c9ff659140f97d44bf6fb59f89526a168f2b86;p=thirdparty%2Fkernel%2Flinux.git Merge branch 'net-stmmac-remove-unnecessary-of_get_phy_mode-calls' Russell King says: ==================== net: stmmac: remove unnecessary of_get_phy_mode() calls This series removes unnecessary of_get_phy_mode() calls from the stmmac glue drivers. stmmac_probe_config_dt() / devm_stmmac_probe_config_dt() already gets the interface mode using device_get_phy_mode() and stores it in plat_dat->phy_interface. Therefore, glue drivers using of_get_phy_mode() are just duplicating the work that has already been done. This series adjusts the glue drivers to remove their usage of of_get_phy_mode(). ==================== Link: https://patch.msgid.link/Z9FQjQZb0IMaQJ9H@shell.armlinux.org.uk Signed-off-by: Paolo Abeni --- 23c9ff659140f97d44bf6fb59f89526a168f2b86