net: ftgmac100: move phy connect out from ftgmac100_setup_mdio
authorIvan Mikhaylov <i.mikhaylov@yadro.com>
Fri, 30 Oct 2020 13:37:05 +0000 (16:37 +0300)
committerJakub Kicinski <kuba@kernel.org>
Mon, 2 Nov 2020 23:10:51 +0000 (15:10 -0800)
commit68ed78b52357f63562402dfd9926ff73bdfa8ca7
tree47048b2b9a9c56f020810fbc9bd2a98848b12731
parent338b5da31de0d816b5718dad0e09482a27d51504
net: ftgmac100: move phy connect out from ftgmac100_setup_mdio

Split MDIO registration and PHY connect into ftgmac100_setup_mdio and
ftgmac100_mii_probe.

Signed-off-by: Ivan Mikhaylov <i.mikhaylov@yadro.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/faraday/ftgmac100.c