]> www.infradead.org Git - users/hch/misc.git/commitdiff
Merge branch 'net-stmmac-remove-unnecessary-of_get_phy_mode-calls'
authorPaolo Abeni <pabeni@redhat.com>
Tue, 18 Mar 2025 14:53:18 +0000 (15:53 +0100)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 18 Mar 2025 14:53:18 +0000 (15:53 +0100)
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 <pabeni@redhat.com>

Trivial merge