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

phylib can make use of the newly introduced mii_bmcr_encode_fixed()
macro, so let's convert it over.

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