OSDN Git Service

net: pcs: xpcs: use mdiodev accessors
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Tue, 8 Nov 2022 14:26:01 +0000 (14:26 +0000)
committerJakub Kicinski <kuba@kernel.org>
Thu, 10 Nov 2022 03:28:49 +0000 (19:28 -0800)
commit85a2b4ac34449ed5610301e05dab0f7f9efe278b
tree2060d46e9cd37aa97ea8274c82c4128a21cf244b
parentf6479ea4e5990e17b9690d66474198dcdba1b2c1
net: pcs: xpcs: use mdiodev accessors

Use mdiodev accessors rather than accessing the bus and address in
the mdio_device structure and using the mdiobus accessors.

Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/pcs/pcs-xpcs.c