]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitaf8c42b8b3052f533f40cf4d4aa39d5dcd6a4846
tree1d1dd052954c437f24119dedd10eaab2ce30ddd1
parent0c00ee52cfb91ae2fa01e5e481053de1d51a3f6f
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