phy: atheros: Use ar8035_config for AR8031
authorFabio Estevam <fabio.estevam@nxp.com>
Tue, 5 Jan 2016 19:02:52 +0000 (17:02 -0200)
committerStefano Babic <sbabic@denx.de>
Thu, 7 Jan 2016 16:46:47 +0000 (17:46 +0100)
commitd584c68ce0f5bf2f430ccfb2ba00bd506206fb91
tree4c94da30aeacda8c21d00407811d5a4877bb4173
parent3861d784b1a470570a0098ac5c25d79e3073c0d9
phy: atheros: Use ar8035_config for AR8031

Commit 08ad9b068afb88 (" ar8031: modify the config func of ar8031 to
ar8021_config") selected 'ar8021_config' as the configuration function
for AR8031.

The correct would be to use 'ar8035_config' instead as AR8031/AR8035
have the same programming model and even share the same phy driver
in the linux kernel: drivers/net/phy/at803x.c.

Tested on a mx6qsabresd and wandboard, which now can work without
any PHY setup code in the board files.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/phy/atheros.c