drivers: net: xgene: Use exported functions
authorIyappan Subramanian <isubramanian@apm.com>
Tue, 26 Jul 2016 00:12:43 +0000 (17:12 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 26 Jul 2016 04:51:43 +0000 (21:51 -0700)
commit8c1519632fa6cb34a5ff4dddffd4a182c4fae1b6
treea8cee4282ee26d042124ad192e62cb0682b824a2
parent47c62b6d5f9466fbb81ee45273d4a9929200a273
drivers: net: xgene: Use exported functions

This patch reuses the mdio read/write and phy_register functions
and removed the local definitions.

Signed-off-by: Iyappan Subramanian <isubramanian@apm.com>
Tested-by: Fushen Chen <fchen@apm.com>
Tested-by: Toan Le <toanle@apm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/apm/xgene/xgene_enet_hw.c