net: dsa: mv88e6xxx: use the new PHY API
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>
Mon, 15 Aug 2016 21:19:02 +0000 (17:19 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 15 Aug 2016 23:43:56 +0000 (16:43 -0700)
commit9c93829c014f1a18a4aac2bf15b79ff4325a0912
tree763c6a44a85c3b884d30adafac13a2f69ee6427f
parent09cb7dfd3f144d18168e27b35361e9024763db15
net: dsa: mv88e6xxx: use the new PHY API

This commit replaces every MDIO direct or indirect access with the new
generic mv88e6xxx_phy_* routines.

This allows us to get rid of the mv88e6xxx_mdio_{read,write}_{,in}direct
and {_,}mv88e6xxx_mdio_page_{read,write} functions.

Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx/chip.c