net: phy: bcm87xx: Use mmd helpers
authorAndrew Lunn <andrew@lunn.ch>
Sat, 30 Apr 2022 17:30:35 +0000 (19:30 +0200)
committerPaolo Abeni <pabeni@redhat.com>
Mon, 2 May 2022 11:21:38 +0000 (13:21 +0200)
commitcad75717c71b49149fbb1ab136bf88a85274d01e
treee8ec6d0dd6dbb961e9b799732fb11b6245d80b6d
parent260bdfea873aec8fe8990154c722abe3a0a6d8d3
net: phy: bcm87xx: Use mmd helpers

Rather than construct special phy device addresses to access C45
registers, use the mmd helpers. These will directly call the C45 API
of the MDIO bus driver.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/phy/bcm87xx.c