net: phy: marvell: use mii_bmcr_encode_fixed()
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Sat, 18 Jun 2022 10:28:42 +0000 (11:28 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 19 Jun 2022 09:38:26 +0000 (10:38 +0100)
commite62dbaff4bc2540393cfc31a7438ed833da7c43c
tree8679f0b8e3e24449ea86cb5e77d95cdce62574f1
parentf28a602b285eab953879688f030f53b966a63f50
net: phy: marvell: use mii_bmcr_encode_fixed()

Make use of the newly introduced mii_bmcr_encode_fixed() to get the
BMCR value when setting loopback mode for the 88e1510.

Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/marvell.c