]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: lan87xx: use genphy_read_master_slave in read_status
authorArun Ramadoss <arun.ramadoss@microchip.com>
Mon, 7 Mar 2022 16:15:15 +0000 (21:45 +0530)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 8 Mar 2022 12:34:33 +0000 (13:34 +0100)
commitf2d15f538f6a3b7b2c074106e83cbaa8ed7b3344
treebc7cd52829f79b333fe953954849f955b98c0963
parent8a83d49d2f99c60a4655920ac05b75c896821d1a
net: phy: lan87xx: use genphy_read_master_slave in read_status

To read the master slave configuration of the LAN87xx T1 phy, used the
generic phy driver genphy_read_master_slave function. Removed the local
lan87xx_read_master_slave function.

Signed-off-by: Arun Ramadoss <arun.ramadoss@microchip.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/phy/microchip_t1.c