]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: ethernet: ixp4xx: Retire ancient phy retrieveal
authorLinus Walleij <linus.walleij@linaro.org>
Sun, 25 Apr 2021 00:30:37 +0000 (02:30 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 26 Apr 2021 01:27:13 +0000 (18:27 -0700)
commit3e8047a98553e234a751f4f7f42d687ba98c0822
treea90f95a4d14130a94772f843191fc39182fc20a5
parent48ac0b5805dd9b10546d5a89a2702fd78a8ca69f
net: ethernet: ixp4xx: Retire ancient phy retrieveal

This driver was using a really dated way of obtaining the
phy by printing a string and using it with phy_connect().
Switch to using more reasonable modern interfaces.

Suggested-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/xscale/ixp4xx_eth.c