]> git.baikalelectronics.ru Git - kernel.git/commit
net: axienet: replace mdiobus_write() with mdiodev_write()
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Tue, 25 Jan 2022 16:10:16 +0000 (16:10 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 26 Jan 2022 15:48:19 +0000 (15:48 +0000)
commit03854d8a7723b31eac9436a6cea6d13a92745e21
tree8594e46a72310600a55f871988d135927bf49ef1
parent7a86be6a5135eaa4feb929f5386412caec8aabe4
net: axienet: replace mdiobus_write() with mdiodev_write()

Commit 0ebecb2644c8 ("net: mdio: Add helper functions for accessing
MDIO devices") added support for mdiodev accessor operations that
neatly wrap the mdiobus accessor operations. Since we are dealing with
a mdio device here, update the driver to use mdiodev_write().

Tested-by: Harini Katakam <harini.katakam@xilinx.com>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/xilinx/xilinx_axienet_main.c