net: stmmac: Rename phylink_get_caps() callback to update_caps()
authorSerge Semin <fancer.lancer@gmail.com>
Fri, 19 Apr 2024 09:03:05 +0000 (12:03 +0300)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 23 Apr 2024 10:25:35 +0000 (12:25 +0200)
commitdc144baeb4fbfa0d91ce9c3875307566f58704ec
treeab9bf69664aaff615881fd57337d2caa0c2b892b
parent30b3fe0672f2a97f22d96a863f2a8f2ed6c52a54
net: stmmac: Rename phylink_get_caps() callback to update_caps()

Since recent commits the stmmac_ops::phylink_get_caps() callback has no
longer been responsible for the phylink MAC capabilities getting, but
merely updates the MAC capabilities in the mac_device_info::link::caps
field. Rename the callback to comply with the what the method does now.

Signed-off-by: Serge Semin <fancer.lancer@gmail.com>
Reviewed-by: Romain Gantois <romain.gantois@bootlin.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c
drivers/net/ethernet/stmicro/stmmac/hwif.h
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c