Altera TSE: Move PHY get addr and MDIO create
authorWalter Lozano <walter@vanguardiasur.com.ar>
Fri, 3 Oct 2014 18:09:00 +0000 (15:09 -0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 6 Oct 2014 01:39:40 +0000 (21:39 -0400)
commit004fa11861f89c54c8839119a99e87b6164dcc2c
tree5b390e3d36f7882381988e78c6f2b937f66f293e
parenta4b4a2b7f98a45c71a906b1126cabea6446a9905
Altera TSE: Move PHY get addr and MDIO create

Move PHY get addr and MDIO create to a new function to improve readability
and make it easier to avoid its usage. This will be useful for example in
the case where there is no PHY chip.

Signed-off-by: Walter Lozano <walter@vanguardiasur.com.ar>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/altera/altera_tse_main.c