net: phy: at803x: Use helpers to access MMD PHY registers
authorCarlo Caione <ccaione@baylibre.com>
Fri, 25 Jan 2019 12:35:10 +0000 (12:35 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 27 Jan 2019 21:26:37 +0000 (13:26 -0800)
commit0e0213965c97685efe814f51271f2f2699a8972d
tree1d1dd052954c437f24119dedd10eaab2ce30ddd1
parent1d68101367a92336e633d0c3681bf8c86644e124
net: phy: at803x: Use helpers to access MMD PHY registers

Libphy provides a standard set of helpers to access the MMD PHY
registers. Use those instead of relying on custom driver-specific
functions.

Signed-off-by: Carlo Caione <ccaione@baylibre.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/at803x.c