]> 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)
commitd56a0aad6c9605407590379f19a5340335a38e95
tree1d1dd052954c437f24119dedd10eaab2ce30ddd1
parente005dcb25e6a016b12c36319a20d0bdd1217a63d
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